Handler for uncaught exceptions on any event dispatch thread.
Once this has been installed, the class must be accessible by any
subsequently launched dispatch thread.
This handler is installed by setting the System property
sun.awt.exception.handler. See javadoc for java.awt.EventDispatchThread
for details. This is sort of a patch to Sun's implementation, which only
checks the property once and caches the result ever after. This
implementation will always chain to the handler indicated by the current
value of the property.
It is most definitely NOT safe to try to install several of these on
different threads.
|