Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Working with multiple frames

 
Richard Mendoza
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two frames(swing) in my application, and I placed command button named "CLOSE" in the second frame. How do I close the second frame without exiting the whole application using the command button that I have placed? I just want to close the frame and the first frame must be resumed. I used System.exit(0) but it closes the whole application. I need ur help. pls.........
Richard
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like Gregg's given you a hint here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic