I built a GUI and now I am trying to run it from the controller class (main.java). I do not know how to do that. Executing it does not work (i.e. GUI gui = new GUI (), does not work).
It seems to me that there is something obvious here, I am absent here, but an extensive search on Google did not give me any results.
I am trying to run a GUI in the main thread and have a separate thread to make calls to process the code (a separate thread that I still have to do) if this has anything to do with the issue. (I don't know, I'm new to Java and programming!)
source share