I have a JFrame which gathers information from the user. In this frame, after it has been constructed, I call a synchronized method that wait()s until the user presses a button. After the button is pressed, the value is returned and the window closes.
Under most circumstances, this works fine. However, when accessed from another frame through an event, the paint() function of the inputting frame is never called. Any hints or suggestions of other ways to make my own user prompt?
I can post the code if necessary.
Under most circumstances, this works fine. However, when accessed from another frame through an event, the paint() function of the inputting frame is never called. Any hints or suggestions of other ways to make my own user prompt?
I can post the code if necessary.