How to reload a form in a JFrame? I have two forms, form1 and form2:
form1links toform2using:new form2().show(); this.setVisible(false);form2links toform1is successThe problem is when
form1form2links 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.