Monday 22 July 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

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...