I do this all the time and don't get the behaviour you describe. You could try setting the Frame as the parent of the JDialog (in the JDialog constructor).
"Illarramendi Amilibia, Aitor" wrote:
Hello everybody: Has anyone tryed to display a JDialog over a Canvas3D within a frame? When I display it and move the mouse over the Canvas3D the JDialog goes behind the Canvas3D's frame. I'm trying, making it modal, looking for a way of making it non light weight, but I don´t solve it. Has anyone found the way? And why happens it with the Canvas3D, why the frame of the Canvas3D gains the focus when I move the mouse over it? I don´t pick up the Canvas3d, only moving over it it's frame gains the focus?Thanks for advance.
Aitor Illarramendi Amilibia Ingeniero de softwareDetección, Mando y Control Carretera de Loeches, 9
28850 - Torrejón de Ardoz, Madrid (ESPAÑA)
Tel: +34-91-396.82.47
Fax: +34-91-396.81.14[EMAIL PROTECTED]
www.indra.es
