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 Spring in Action this week in the Spring 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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to end a dialog window?