01-09-2012 09:01 AM
Im looking to develop an app that has a background service and a GUI front end (2 entry points). I understand how to have a shared runtime store so that the GUI may access data/events from the background service. But how can I spawn a thread as part of the background entrypoint, while in the GUI entrypoint. Should I call app.invokeLater() on the background app? Is that illegal to do if you are not in the context of that app?
Solved! Go to Solution.
01-09-2012 09:10 AM
01-09-2012 09:13 AM
Thank you for your response. I think I should clarify my question:
Say that there is a runtime store object with a method that I can call to have the background app do something. In this method a thread will be spawned. But I want this thread running in the context of the background app, not on the UI app that called the method. How do I acheive this?
01-09-2012 09:21 AM