Hi

when I hit a key the a widow is opened from within the context of 3d scene,
but I was wondering how do I ensure that a window is only opened once i.e.
if it already open then I do not want it to be opened again when the user
presses the same key. Any suggestions would be appreciated.

the follwing is the code used to open the window.

        public void controlsPopup() {

                controls ctrl = new controls();
                this.toFront(); // keeps the focus with the main 3D app
        }

Thanks in advance
Grace

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

Reply via email to