ptolemy.actor.gui.jnlp
Class VisualSenseApplication

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

public class VisualSenseApplication
extends MenuApplication

A wrapper class that calls eventually calls ptolemy.vergil.VergilApplication for use with Java Network Launching Protocol (JNLP) aka Web Start.

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 4.0
Version:
$Id: VisualSenseApplication.java 57040 2010-01-27 20:52:32Z cxh $
Author:
Christopher Hylands Brooks
See Also:
MenuApplication
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Constructor Summary
VisualSenseApplication()
           
 
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

VisualSenseApplication

public VisualSenseApplication()
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()