objectdraw
Class AWTInitializer
java.lang.Object
java.lang.Thread
objectdraw.AWTInitializer
- All Implemented Interfaces:
- Runnable
class AWTInitializer
- extends Thread
Initializer is a thread that keeps trying to call WindowController's begin method
until the WindowController's DrawingCanvas is properly initialized. This is necessary
because there is sometimes a delay before the canvas' peer component is fully
realized.
- Version:
- 1.1.1 released February 2005
Method Summary |
void |
run()
Tries callBegin until the WindowController is set up and ready to have begin called on it. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, 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 |
windowController
AWTWindowController windowController
- The WindowController whose begin method is being called
AWTInitializer
public AWTInitializer(AWTWindowController windowController)
- Constructs a new AWTInitializer.
- Parameters:
windowController
- the controller whose begin method needs to be called.
run
public void run()
- Tries callBegin until the WindowController is set up and ready to have begin called on it.
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread