How can I check if the current thread is the event dispatching thread?

Is there a way to detect if the current thread is the EVT? Something like SwingUtilities.isEventDispatchThread or SWT's display.getThread()?

2 comments

ApplicationManager.getApplication().isDispatchThread()

See also other threads related methods there.

0

Please sign in to leave a comment.