Saturday, March 31, 2018

java - How to make a JFrame button open another JFrame class in Netbeans?

I have a JFrame class and it was made in the design section on Netbeans. I am trying to make a log in button that takes closes the current frame and opens another, is there anyway I can do that?



I have tried:



JFrame frame = new JFrame(); 



But I want it to be editable in the design section!

No comments:

Post a Comment