Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Close Frame  RSS feed

 
satishind Reddy
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi anyone
If i have two frames. How to close second frame without closing firt frame.
I tried with 'System.exit(0)' it closes two frames.
Thanks in advance....
Regards
Satish
 
deekasha gunwant
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi satishind,
u can try frame.dispose() for this
regards
deekasha
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am moving this thread to Swing, JFC and AWT
Ajith
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!