@Retention(value=SOURCE) @Target(value=TYPE) public @interface OnShowing
Runnable
with default constructor
which should be invoked as soon as the window system is shown. The
runnables are invoked in AWT event dispatch thread one by one:
@OnShowing
public class ShowSomething implements Runnable {
public void run() {
assert EventQueue.isDispatchThread();
// do something visual
}
}
Modifier and Type | Optional Element and Description |
---|---|
int |
position
Allows to specify order between the individual runnables
registered by different modules
|