Annotation Type EventDispatchThreadOnly


@Target({METHOD,TYPE,CONSTRUCTOR})
public @interface EventDispatchThreadOnly
Indicates that this class or method should only be accessed by the Event Dispatch Thread

Add this annotation to methods that call (swing) GUI methods, or that may be called from event handlers etc.

Author:
unknown