edu.princeton.toy
Class TMain

java.lang.Object
  extended by edu.princeton.toy.TMain

public class TMain
extends Object

TMain is the class which contains the main function for the X-TOY application. It also parses the version file.


Method Summary
static String getBuildDate()
          Returns the build date, as parsed from the version file.
static Image getFrameIcon()
          Returns the frame icon that should be used in this OS.
static String getVersion()
          Returns the version, as parsed from the version file.
static void main(String[] arguments)
          Parses the version file, launches a splash window until all the example, image, and parameter managers are ready.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] arguments)
Parses the version file, launches a splash window until all the example, image, and parameter managers are ready. Then launches an untitled frame.


getVersion

public static String getVersion()
Returns the version, as parsed from the version file.

Returns:
The version of this application.

getBuildDate

public static String getBuildDate()
Returns the build date, as parsed from the version file.

Returns:
The build date of this application.

getFrameIcon

public static Image getFrameIcon()
Returns the frame icon that should be used in this OS.

Returns:
The image for the frame icon that should be used in this OS.