Reputation: 720
The title pretty much says everything.
I have the icon in the taskbar but when I right click it i can only "close the window".
It might have something to do with AppUserModelID , which is related to my first line of code when the program starts : Display.setAppName("MYAPPNAME");
I'm aware that there is a TaskBar class which I already use for progress / icon edit / menu (not working on Win) but there's nothing about pining.
edit : I use launch4j to launch my app.
Thanks
Upvotes: 0
Views: 478
Reputation: 36894
Only executables can be pinned to the taskbar. A jar file is per se no executable. You can do the following to pin your application:
If you're running it directly from an IDE, there is no way (that I know of) to pin it.
Upvotes: 1