Monday, July 22, 2019

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

Answer


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

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...