java - Problem with Closing newly opened JFrame -
I am developing a desktop application using NetBusiness IDE.
1) When I open a new Jeffram, click one button while closing any of the opened frames stops, both are closed.
2) And after clicking the button I want to update a new tabbed JPNL on GeFrom. thank you in advanced.
Perhaps you are using the wrong logic I guess for JFrames that you have the entire application Close without closing:
jFrame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); In fact, only close the desired frame without closing the rest of the frames:
jFrame.setDefaultCloseOperation (JFrame.DISPOSE_ON_CLOSE);
Comments
Post a Comment