Provide an AWTEventListener which ensures all events are handled on the
event dispatch thread. This allows the recorders and other
listeners to safely manipulate GUI objects without concern for event
dispatch thread-safety.
Window.show generates WINDOW_OPENED (and possibly hierarchy and other
events) to any listeners from whatever thread the method was invoked on.
NOTE: Applet runners may run several simultaneous event dispatch threads
when displaying multiple applets simultaneously. If this listener is
installed in the parent context of those dispatch threads, it will be
invoked on each of those threads, possibly simultaneously.
|