Annotation Interface RunsInEDT


@Target({METHOD,CONSTRUCTOR,TYPE}) @Documented public @interface RunsInEDT
Understands an annotation that documents that a method is accessing GUI components in the event dispatch thread.

If this annotation is used at a type level:

  1. class: all methods in a class are accessing GUI components in the event dispatch thread.
  2. interface: methods in an interface that access GUI components should do it in the event dispatch thread.