[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[equinox-dev] IApplicationContext#applicationRunning needs to be called on the main thread?!?
- From: Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx>
- Date: Thu, 31 Oct 2013 16:39:32 +0100
- Delivered-to: email@example.com
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
After having debugged now for some hours why the native splash screen in
JavaFX-OSGi-Applications is not take down when
IApplicationContext#applicationRunning is called  I found out that
this call does not work if your application is configured to be launched
on any-thread (in contrast to main).
a) I think this needs to be documented in the JavaDoc
b) Is there a way to find out the main-thread and execute a call in it?
c) Should the splash code doing this synchronization itself?