• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to end a dialog window?

 
Metal Zhang
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dispose()
 
Metal Zhang
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you!
Originally posted by Paul Stevens:
dispose()


------------------
Java lover from hell!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic