That is better - I was calling showInternalMessageDialog using parent frame of the 
application. I I call showMessageDialog and parent it off the canvas3d it seems to 
work better. The only problem is that I think you need to use 
showInternalMessageDialog if you want to be able to use Fullscreen, which was 
originally our plan. In a convenient good-news/bad-news kind of way, the application 
crashes silently the first time it tries to use any Java3D, so it probably doesn't 
matter anyway.

-ben

-----Original Message-----
From: Ewan Borland [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 15:27
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] application-wide popup switch


According to info on the sun website:

http://java.sun.com/products/jfc/tsc/articles/mixing/index.html

JDialog isn't a lightweight component so the fact that yours are appearing
behind the j3d components must indicate some other issue.

Maybe if you provide some more info about how you are creating your dialogs
then someone will be able to help out. I don't have a particular suggestion
as to the cause but maybe you should look at whether or not your dialogs are
modal and what are you setting as the parent for your dialogs when you
create them?

-Ewan

----- Original Message -----
From: "Ben Moxon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 18, 2003 3:07 PM
Subject: Re: [JAVA3D] application-wide popup switch


My JDialogs are all still popping up under the Canvas3D. Maybe I'm creating
them wrong or something.

-ben

-----Original Message-----
From: Ewan Borland [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 14:18
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] application-wide popup switch


Hi Ben,

I've used JDialogs over j3d components with no problems. However to make
popup menus and tooltips heavyweightyou just need to add the following code
when initializing your app:

    JPopupMenu.setLightWeightPopupEnabled(false);
    ToolTipManager.sharedInstance().setLightWeightPopupEnabled(false);

Hope this helps,
Ewan

-----
Ewan Borland
Computer Vision & Graphics Group
Department of Computing Science
University of Glasgow

+44 (0)141 330 0209
[EMAIL PROTECTED]

----- Original Message -----
From: "Ben Moxon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 18, 2003 1:41 PM
Subject: [JAVA3D] application-wide popup switch


Is there a way to tell a swing application that you want every popup menu it
uses and Jdialog to be created as heavyweight? It's a bit tiresome wandering
around a big application telling it to do stuff each time, if you see what I
mean.

I know this is technically a Swing question, but as they are all
disappearing under J3D components at the moment I figured it was worth
asking here.

Thanks,

-ben



Ben Moxon
newview*

t: 01483 685 398
e: [EMAIL PROTECTED]
w:http://www.newview.co.uk/
****************************************************************************
*****
This email, its content and any files transmitted with it are intended
solely for the addressee(s) and may be legally privileged and/or
confidential. If you are not the intended recipient please delete and
contact the sender via email return. Unless expressly stated otherwise,
and subject to the disclaimer below, this email does not form part of a
legally binding contract or agreement between the recipient and
Newview Communications Limited.
Messages sent via this medium may be subject to delays, non-delivery
and unauthorised alteration. This email has been prepared using
information believed by the author to be reliable and accurate, but
Newview Communications Limited makes no warranty as to accuracy or
completeness.
In particular, Newview Communications Limited does not accept
responsibility for changes made to this email after it was sent.
Any opinions or recommendations expressed herein are solely those
of the author. They may be subject to change without notice.
****************************************************************************
*****

===========================================================================
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".

===========================================================================
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".

===========================================================================
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