How to reload a form in a JFrame
? I have two forms, form1
and form2
:
form1
links toform2
using:new form2().show(); this.setVisible(false);
form2
links toform1
is successThe problem is when
form1
form2
links to existing data are not shown.
I want to ask is there any other way than setVisible()
method because it seems just to hide it.