SyntaxFix
Write A Post
Hire A Developer
Questions
This link works with me: video
The answer posted before didn't work for me until the second click
So what I did is Directly call:
new NewForm().setVisible(true); this.dispose();//to close the current jframe