Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Ludwig Fischer   on Apr 25 In Java Category.

  
Question Answered By: Cadencia Bernard   on Apr 25

System.exit(0) will close  the whole application. You need to maintain a
reference to JFrame B and call the dispose() method  on it when you want
to close it.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on how do i close a jframe while retaining another one Or get search suggestion and latest updates.


Tagged: