org.selman.java3d.book.launcher
Class Launcher

java.lang.Object
  |
  +--org.selman.java3d.book.launcher.Launcher

public class Launcher
extends java.lang.Object

Quick-and-dirty application launcher for the book examples. The Launcher displays a menu of applications, sets the working directory and Runtime.execs each example.

If you installed the examples to the "c:\dev\selman" directory go to c:\dev\selman\classes and type:

 java org.selman.java3d.book.launcher.Launcher
 

You need to have "java" in your path (the correct one for Java 3D!) and copy the files j3dtree.jar and vrml97.jar into your jre/lib/ext directory.

Please refer to the JavaDoc folder for information about each example.


Constructor Summary
Launcher()
          Reads the property file for the Launcher and register each example.
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void printMenu()
           
protected  void readProperties()
           
protected  void registerApplication(org.selman.java3d.book.launcher.Application application)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Launcher

public Launcher()
Reads the property file for the Launcher and register each example.

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception

readProperties

protected void readProperties()

registerApplication

protected void registerApplication(org.selman.java3d.book.launcher.Application application)

printMenu

protected void printMenu()

run

public void run()
         throws java.lang.Exception
java.lang.Exception