I would like to know how I go from one Jframe to another, executing the main of the other Jframe?
I have an input on the jframe that I want to open from the Jframe home, I open the following way the Jframe
Jframe2 abrir =new Jframe2();
abrir.setVisible(true);
But this way I do not run the main of that frame2, and I would like it to be shuffled because I have code to show.