How can I know if the running code is executed on the main thread (UI thread)?
With Swing I use the isEventDispatchThread method...
How can I know if the running code is executed on the main thread (UI thread)?
With Swing I use the isEventDispatchThread method...