I’m developing a desktop application using NetBeans IDE.
1) I’m opening a new JFrame after a button click. While I’m closing any of the opened frames, both are getting closed.
2) And I want to update a new Tabbed JPanel on a JFrame after button click.
Thanks in advance.
Probably you are using the wrong argument. I guess for the JFrames that you want to close without closing the entire application you are doing:
While to actually close only the desired frame without closing rest of the frames you need to do: