My project is a MainGUI and two other GUIs (separate "application sample forms", JFrames) that open when certain buttons are pressed in the MainGUI. One of the other guis, called the OpenCSVGUI is supposed to come up at the beginning of the project and stay there until the tasks in the OpenCSVGUI are completed (which is reading in a .csv file and, once that's done, setting the "informationGathered" boolean in the MainGUI to true.) How do I make the program switch back to the OpenCSVGUI window everytime the user tries to do something on the MainGUI until this is done?
I have been coding in Java for a year now so if you see an answer that seems obvious to you, please mention it because it probably won't be to me!
Thank you