Hello. I have 3 classes ;
main.java
calls
gui.java
Gui g =new Gui();
g.createAndShowGUI();
Then I have my menu.java with the actionPerformed()
I am trying to call methods of the GUI.java
How can I call methods on the GUI.java to
and use the methods on that instance of the
GUI.java?
I tried using
GUI g =new GUI();
g.performTask();
but this creates a brand new class.