I have a problem with a program that I try to make. Inside a JFrame class, I start one Thread. That thread checks something and return a boolean as true or false. Inside the JFrame class I want to check that boolean, and do actions according to the results of the thread.
Now my question is how can I make my JFrame to wait untill the Thread ends?
If you need some code, please ask, but I hope you understand where my problem is.