java - Taskbar icon with lwjgl? -


i want add taskbar icon running lwjgl process on windows 7.

display.seticon changes icon in topleft of window, not in taskbar.

what to?

my code, like:

arraylist bytebuffers = new arraylist();
bytebuffers.add( imagehelper.loadimageasiconimage("stickmanicon32x32.png") );
bytebuffers.add( imagehelper.loadimageasiconimage("stickmanicon16x16.png") );
system.out.println( "taskbaricon result: " + display.seticon(bytebuffers.toarray(new bytebuffer[]{})) );

i tried adding 40x40 image too, no change.

this code worked fine me. no need of libs.

bytebuffer[] list = new bytebuffer[2]; list[0] = createbuffer(imageio.read(new file("src/images/tests/icon16.png"))); list[1] = createbuffer(imageio.read(new file("src/images/tests/icon32.png"))); display.seticon(list); 

Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -