-----Original Message-----
From: Illarramendi Amilibia, Aitor [mailto:[EMAIL PROTECTED]]
Sent: lunes 15 de enero de 2001 15:59
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Canvas 3D disablingHello:
I'm developing a littel application with Java 3D and a Swing component based HCI.
During the use of the application is needed to present some dialogs (nowadays with the method showMessageDialog of the component JOptionPane, but the idea is to show modal dialogs), and likely above the canvas 3D.
If the canvas 3D is rendering an you open a dialog but you move the mouse above the canvas, the dialog normally loses the focus, or the render doesn�t work properly.
I have being proving with startRenderer and stopRenderer methods of Canvas3D, but they throw exceptions and I don�t know if that could be the solution. My idea is to freeze the scene while I'm working with the dialogs. I mean, I would like to disable the canvas completely, not render neither interaction with the mouse or interaction with the scene objects.
I don�t know if I am explaining properly, but more or less is that what I'm doing.
Thanks for advance.
Title: Canvas 3D disabling
My
loved friend, try to use the stopRenderer() /
startRenderer() methods from the canvas3d object. But you surely should
give an eye to the "Mixing heavy and light components" topic at http://java.sun.com/products/jfc/tsc/articles/mixing/index.html
Ethernaly yours,
Javi
- [JAVA3D] Canvas 3D disabling Illarramendi Amilibia, Aitor
- "S�nchez Sanz, Javier"
