swingutils.threads.util
¶
-
class
swingutils.threads.util.
RunnableWrapper
(func, args, kwargs)¶ Wraps a callable and its arguments for use in Java code that requires a
Runnable
.
-
class
swingutils.threads.util.
CallableWrapper
(func, args, kwargs)¶ Wraps a callable and its arguments for use in Java code that requires a
Callable
.
-
swingutils.threads.util.
setDefaultExceptionHandler
(func)¶ Sets the default handler for uncaught exceptions for all threads. A value of
None
removes the default handler.The handler is called with two arguments: the java.lang.Thread object and the exception instance.