Threads waiting for each other
807580Nov 24 2009 — edited Nov 24 2009Hey,
I am developing a multi-threaded program. The thing is that I have a GUIThread and a XMLsettingsReaderThread (well among other threads).... Now it is absolutely necessary that the GUIThread is executed and completed to a certain level before the XMLsettingsReaderThread starts...Now how do I do this? The problem is that I want the GUIthread create a Frame first before XMLsettingsReaderThread starts cause it uses a getter on the Frame(created in GUIThread) and if XMLsettingsReaderThread is first then there is no frame yet so I get NullPointerException.
thank you veeery much :)