There needs to be a getIcon() method that returns a byte buffer of the current icons being used.
do you not have control of which Icon you have set???
You can give lwjgl an array of icons so it can use the icons it needs for that OS.
My program meeds to know what icons out of the array that I gave it are being used so I can render the icons on the screen.
Shouldn't they all be the same image, just scaled differently? Use the correctly scaled image for your needs.
My program uses all diffrent icons. The reason for this is so I can see which icons i gave it are being used and then use the icons to build a single picture.
IMO such a method isn't really needed in the LWJGL API. The icon set can easily be tracked/recorded inside your own application.
LWJGL only uses the icons it needs, you have to give it an array of icons for it to use, but it does not always use all of them. Thats why the set icon method returns the number of icons it is using.