csheets.ui
Class Frame.Creator

java.lang.Object
  extended by csheets.ui.Frame.Creator
All Implemented Interfaces:
Runnable
Enclosing class:
Frame

public static class Frame.Creator
extends Object
implements Runnable

A utility for creating a Frame on the AWT event dispatching thread.

Author:
Einar Pehrson

Constructor Summary
Frame.Creator(CleanSheets app)
          Creates a new frame creator.
 
Method Summary
 Frame createAndWait()
          Creates a component on the AWT event dispatching thread.
 void createLater()
          Asks the event queue to create a component at a later time.
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Frame.Creator

public Frame.Creator(CleanSheets app)
Creates a new frame creator.

Parameters:
app - the CleanSheets application
Method Detail

createAndWait

public Frame createAndWait()
Creates a component on the AWT event dispatching thread.

Returns:
the component that was created

createLater

public void createLater()
Asks the event queue to create a component at a later time. (Included for conformity.)


run

public void run()
Specified by:
run in interface Runnable