[JAVA3D] Closing a JDialog

2001-07-16 Thread Frank Bellegarde
Ok, I know this isn't Java3d but it is easier to get an answer around here 'cause there's a lot more of people. I've added a JDialog containing a warning that popup when the user mess with something. I've since then been trying to make a button inside it close the damned thing but I can't seem to

Re: [JAVA3D] Closing a JDialog

2001-07-16 Thread Christopher Collins
Have your thought about using a JOptionPane? I think it's better if you only want a warning message to show. Something like this has all the buttons and closing methods built in: JOptionPane.showConfirmDialog(ParentFrame, warnMessage, Warning, JOptionPane.YES_NO_OPTION ); There are also

Re: [JAVA3D] Closing a JDialog

2001-07-16 Thread Joachim Diepstraten
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

Re: [JAVA3D] Closing a JDialog

2001-07-16 Thread David Yazel
: 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

Re: [JAVA3D] Closing a JDialog

2001-07-16 Thread Frank Bellegarde
Well, I thank you for answering in such a great number. I finaly chose what some of you suggested, wich is using the JOptionPane. It works more than well enough in addition to offering many options and saving a lot of trouble. I recommend it! Thanks a lot. Frank B. Find the best deals on the