I am developing an application in standard java. i am using swing and i want to switch between frames. i want the code for the action button.pls
Printable View
I am developing an application in standard java. i am using swing and i want to switch between frames. i want the code for the action button.pls
Recommended reading:
Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
How To Ask Questions The Smart Way
db
Have moved thread to correct forum.
Try:
frame1.setVisible(false);
frame2.setVisible(true);