Quantcast
Channel: Updating SWT objects from another thread - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Favonius for Updating SWT objects from another thread

I think you are getting java.lang.NullPointerException because you are trying to access the GUI component before it is created. Ideally you should wait for the gui component to get created... for...

View Article



Answer by Riduidel for Updating SWT objects from another thread

To say things short, SWT is a single-threaded UI toolkit. As a consequence, widgets must be updated in SWT event thread, like in Swing. Thus, you'll have to call the refresh using anonymous Runnable...

View Article

Updating SWT objects from another thread

In my Java application, when the main module is invoked, i start my SWT GUI in a separate thread. I need to perform some long opertations in the main thread and update the GUI thread. When I try to...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images