Swing or AWT components on 3dAnimation

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

Swing or AWT components on 3dAnimation

April
Hello,
I want to have a Swing or AWT Component in front of a 3dAnimation.
i tried it already with JLayeredPane and GlassPane, but the GLCanvas was always in the front.

i hope i said, what u need to know.
Reply | Threaded
Open this post in threaded view
|

Re: Swing or AWT components on 3dAnimation

gouessej
Administrator
Hi

At first, try to put your AWT or Swing component into a JInternalFrame. If it isn't enough, replace GLCanvas by GLJPanel. Good luck.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Swing or AWT components on 3dAnimation

April
http://www.directupload.net/file/d/3804/ovo6oagb_png.htm

This is what happened when i put the canvas in a JInternalFrame which is Behind another JInternalFrame.
Booth InternalFrames were added to a JDesktopPane.
Reply | Threaded
Open this post in threaded view
|

Re: Swing or AWT components on 3dAnimation

April
The Solution with the GLJPanel worked.
Ty for the fast help.
Reply | Threaded
Open this post in threaded view
|

Re: Swing or AWT components on 3dAnimation

gouessej
Administrator
You're welcome. Now you can even drive the whole JInternalFrame translucent if you want as you use only Swing components :)
Julien Gouesse | Personal blog | Website