public static class SimpleCLIPanel.ClassRunner
extends java.lang.Thread
Constructor and Description |
---|
ClassRunner(SimpleCLIPanel owner,
java.lang.Class<?> theClass,
java.lang.String[] commandArgs)
Sets up the class runner thread.
|
Modifier and Type | Method and Description |
---|---|
void |
run()
Starts running the main method.
|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public ClassRunner(SimpleCLIPanel owner, java.lang.Class<?> theClass, java.lang.String[] commandArgs) throws java.lang.Exception
theClass
- the Class to call the main method ofcommandArgs
- an array of Strings to use as command line argsjava.lang.Exception
- if an error occurs