Is is possible to change the icon of a GLWindow after it has been created?

classic Classic list List threaded Threaded
4 messages Options
ac
Reply | Threaded
Open this post in threaded view
|

Is is possible to change the icon of a GLWindow after it has been created?

ac
NEWT's GLWindow does not offer an analogous API to frame.setIconImage(Image) in AWT. I know that you can set the window icons by using the resource loading mechanism before the window is initialized, i.e.:

IOUtil.ClassResources res = new ClassResources(iconImages, getClass().getClassLoader(), getClass());
NewtFactory.setWindowIcons(res);

but I'm curious to know if there is a way to change the icons after initialization.

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Is is possible to change the icon of a GLWindow after it has been created?

gouessej
Administrator
Hi

There is no other solution in JOGL yet but I think that there is already a request for enhancement about that.
Julien Gouesse | Personal blog | Website
ac
Reply | Threaded
Open this post in threaded view
|

Re: Is is possible to change the icon of a GLWindow after it has been created?

ac
Ok, thanks. I did a quick search in the tracker, but didn't find the enhancement request. Let me know if you happen to come across it.
Reply | Threaded
Open this post in threaded view
|

Re: Is is possible to change the icon of a GLWindow after it has been created?

gouessej
Administrator