Hi Kevin,

Here are the two main classes I use to create my diaolog frame
(JChessPromoteDialog) with 3d scene (JChessPromote3D) in it.
The problem is that I want to have this Dialog modal to force user
selecting a chess Piece in order to  do pawn promotion (I am programming
a 3d chess game)
Thanks for your help

Regards,

Arnaud

-----Message d'origine-----
De�: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] De la part de Kevin Glass
Envoy�: jeudi 3 avril 2003 09:39
��: [EMAIL PROTECTED]
Objet�: Re: [JAVA3D] RE : [JAVA3D] JDialog and Java3D

Most likely this is to do with how you're creating the canvas that is
being used in the dialog. When you set the dialog to modal the
setVisible(true) call blocks on the current thread until
setVisible(false)
is called. This "blocking" is probably stopping the rendering thread
from
running.

Have to see the code structure to guess at the problem really,

Kev

> Thank you Isaac for this help, but I tried and it doesn�t work !
> Moreover, I read that JDialog are not LightWeight components although
> they are swing Components.
> Could it be a problem of frame focus ? (actually I have a JFrame with
a
> 3d scene and another one which is the JDialog, with another 3d scene.
> And I would like to have this one on top of the first in modal mode!)
>
> -----Message d'origine-----
> De : Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED] De la part de Isaac Brobbey
> Envoy� : mercredi 2 avril 2003 04:05
> � : [EMAIL PROTECTED]
> Objet : Re: [JAVA3D] JDialog and Java3D
>
> Problems with swing and java3D , try
> JPopupMenu.setDefaultLightWeightPopupEnabled(false);
>
> ToolTipManager.sharedInstance().setLightWeightPopupEnabled(false);
>
> Hope that helps.
>
> Isaac Brobbey
> Java2 & Java3D
> MS/CIT Project
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED] On Behalf Of Arnaud Forgues
> Sent: Wednesday, April 02, 2003 2:09 PM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] JDialog and Java3D
>
> Hello Guys,
>
> I am trying to insert a 3d scene into a swing component JDialog. This
> works well while I set the �modal� parameter to false.
> However if I set it to true, the dialog frame is frozen and my 3d
scene
> doesn�t render!!
> I am sorry if it is a well-known problem between swing and java3d but
> could anyone enlighten me on the problem ?
>
> Regards
>
> Arnaud Forgues


--
Jose UML - http://www.newdawnsoftware.com/jose
Pondering RPG - http://pondering.newdawnsoftware.com

========================================================================
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff JAVA3D-INTEREST".  For general help, send email
to
[EMAIL PROTECTED] and include in the body of the message "help".

==========================================================================To 
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to