a eclipse program by java language have several JFrame
's and some JFrame
's are called any JFrame
's or Class
's as Thread
.
problem are when one of JFrame's need to close then all of JFrame
's closed and thread's will be started as that JFrame
incomplete closed.
one offer is use f.setVisible(false);
but this is not good because in through time i have many JFrame
's because JFrame
's are called as:
JFrame f = new JFrame();//make new JFrame
f.setVisible(true);