Pinning a Java application to the Windows 7 taskbar
I don’t have Windows 7 but here is something that might get you started: On the Java side: package com.stackoverflow.homework; public class MyApplication { static native boolean setAppUserModelID(); static { System.loadLibrary(“MyApplicationJNI”); setAppUserModelID(); } } And on the native side, in the source code of the `MyApplicationJNI.dll library: JNIEXPORT jboolean JNICALL Java_com_stackoverflow_homework_MyApplication_setAppUserModelID(JNIEnv* env) { LPCWSTR id … Read more