ui
Class GuiRunnable

java.lang.Object
  extended by java.lang.Thread
      extended by ui.GuiRunnable
All Implemented Interfaces:
java.lang.Runnable

public class GuiRunnable
extends java.lang.Thread

This class provides the methods to run a new GuiMain object. This is called in the SysTrayMain class and placed on the usual Event Dispatch Thread.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
GuiRunnable(GuiMain gui, SysTrayMain tray)
          Creates a new GuiRunnable object.
 
Method Summary
 void run()
          Runs the gui in a new thread.
 
Methods inherited from class java.lang.Thread
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GuiRunnable

public GuiRunnable(GuiMain gui,
                   SysTrayMain tray)
Creates a new GuiRunnable object. The SysTrayMain object is automatically added to the GuiMain object.

Parameters:
gui - The GuiMain object.
tray - The SysTrayMain object.
Method Detail

run

public void run()
Runs the gui in a new thread.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread