Hi all,

 

I am trying to use the new fullscreen abilities of Java 1.4 and am having a strange problem. My application switches between a 2D (JPanel) and a 3D (Canvas3D). I switch between them by removing the JPanel from the JFrame which holds the application and adding the Canvas3D. This works fine in windowed mode but in fullscreen mode when I switch from 2D to 3D the 2D is not removed and the 3D is underneath it. When I then try to navigate the 3D world it jumps up above the 2D but as soon as I stop the 2D appears back on top.

 

It looks like there are 2 Frames that are fullscreen being rendered on top of each other. I read somewhere that JDK 1.4 uses directX to render in fullscreen and I’m using the OpenGL version for Java3D. Could this be the problem?

 

Can anyone suggest where to start to fix this problem?

 

I am using:

Windows 2000 Pro

JDK1.4.0

Java3D 1.2.1_04 OpenGL

 

Thanks in advance,

 

David Grace

Reply via email to