aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to end a dialog window? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to end a dialog window?" Watch "How to end a dialog window?" New topic
Author

How to end a dialog window?

Metal Zhang
Ranch Hand

Joined: Aug 05, 2001
Posts: 52
I have a Frame object which represents a window.And I construct a dialog in which there is a button.Now I want to end the dialog window but not the frame window when I click the button.I don't know how to perform this operation.Your advisor will be greatly appreciated!
------------------
Java lover from hell!


Java lover from hell!
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
dispose()
Metal Zhang
Ranch Hand

Joined: Aug 05, 2001
Posts: 52
Thank you!
Originally posted by Paul Stevens:
dispose()


------------------
Java lover from hell!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to end a dialog window?
 
Similar Threads
Is it possible to popup a dialog from Applet?
Some observations regarding Containers.
removing bottomline from frame, how-to?
How to create a Frame or a Dialog without the Frame Bar
How to Remove Java Icon