ptolemy.actor.gui.jnlp
Class SpaceApplication

java.lang.Object
  extended by ptolemy.actor.gui.jnlp.MenuApplication
      extended by ptolemy.actor.gui.jnlp.SpaceApplication

public class SpaceApplication
extends MenuApplication

A wrapper class that calls eventually calls ptolemy.vergil.VergilApplication for use with Java Network Launching Protocol (JNLP) aka Web Start to run the Office Space application

This class is very similar to other classes that invoke Vergil applications under Web Start because each application needs to have its own jar file.

In Web Start 1.0.1, it is necessary to sign the application if it is to have access to the local disk etc. The way that this is handled is that the .jnlp file that defines the application is copied to the .jar file that defines the main() method for the application and the .jar file is signed. Unfortunately, this means that two Web Start applications cannot share one jar file, so we create these wrapper classes that call the appropriate main class.

For more information about JNLP, see $PTII/mk/jnlp.in.

Since:
Ptolemy II 8.0
Version:
$Id: SpaceApplication.java 57044 2010-01-27 22:41:05Z cxh $
Author:
Christopher Hylands
See Also:
MenuApplication
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Constructor Summary
SpaceApplication()
           
 
Method Summary
static void main(java.lang.String[] args)
          Main method that sets user.dir as necessary and calls MenuApplication.main().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceApplication

public SpaceApplication()
Method Detail

main

public static void main(java.lang.String[] args)
Main method that sets user.dir as necessary and calls MenuApplication.main().

Parameters:
args - Arguments to be passed on to MenuApplication.main()