public abstract class SwingClosure
extends java.lang.Object
Constructor and Description |
---|
SwingClosure()
Creates a SwingClosure that will use SwingUtilities.invokeAndWait(..)
if the current thread is not the Swing thread.
|
SwingClosure(boolean useInvokeLater) |
public SwingClosure()
public SwingClosure(boolean useInvokeLater)
useInvokeLater
- Specify true
if SwingClosure
should use SwingUtilities.invokeLater(..). Specify
false
if it should use SwingUtilities.invokeAndWait(..).public final void run() throws ClosureException
ClosureException
.ClosureException
protected abstract void runImpl() throws java.lang.Exception
ClosureException
.java.lang.Exception