I have to admit it is confusing.  It is not documented that I can find.  I
spent about 5 hours on Sun's site trying to answer this same question
before.  There is no real way to *really* close a window.  Hide it and kill
the reference is about the only way that I have found.  I did see some code
to force a dispose, but I didn't like it.  The problem is that java swing
just keeps on running even after you hide.  And you don't want to call
system.exit().  The behavior I would want is that when the last window is
hidden for the programs to exit.

Dave Yazel
----- Original Message -----
From: Joachim Diepstraten <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 16, 2001 1:20 PM
Subject: Re: [JAVA3D] Closing a JDialog


Ehlo Frank!

> Could someone help me getting rid of this stupid
> problem please?
How about trying this.hide(). But you should actually find these
sort of information in the JAVA2 API Documentation or in the JAVA2
Tutorial (GUI with Swing Chapter)

EOF,
 J.D.

--
Realtime Raytracer in JAVA
(http://www.antiflash.net/raytrace)

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