Hi, Thanks, I've tried this and the focus remains with the main application, but do you know if its possible for the focus to reamin with the main 3D application, even if the swing gui ovelaps on top of the 3d application when it is loaded .
Thanks Grace >From: Octavian Nasarimba <[EMAIL PROTECTED]> >Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [JAVA3D] displaying a swing gui >Date: Fri, 5 Apr 2002 12:01:13 +0200 > >Hi, > >If you want the main window of the application to remain in foreground, >you will >have to call mainWindow.toFront() after childWindow.setVisible(true) >when processing the key event. > > >Grace S wrote: > > > > Hi, > > I have a Java 3D application, when I press the ‘F1’ key, a swing GUI is > > displayed. But I want the focus to remain with the main 3D application >and > > not switch to the swing gui when it is loaded, > > How can I do this > > > > Thanks > > > > _________________________________________________________________ > > MSN Photos is the easiest way to share and print your photos: > > http://photos.msn.com/support/worldwide.aspx > > > > >=========================================================================== > > 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". > >-- >_____________________________________________________ >Octavian Nasarimba Tel. +49 711 / 96 72-113 >KLEIN+STEKL GmbH Fax +49 711 / 96 72-1 30 >Heusteigstrasse 41 http://www.klst.com >70180 Stuttgart/GERMANY mailto:[EMAIL PROTECTED] >Amtsgericht Kirchheim/Teck HRB 180 > >=========================================================================== >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". _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.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".