ptolemy.actor.gui.jnlp
Class PtinyApplication
java.lang.Object
ptolemy.actor.gui.jnlp.MenuApplication
ptolemy.actor.gui.jnlp.PtinyApplication
public class PtinyApplication
- 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 2.0
- Version:
- $Id: PtinyApplication.java 57040 2010-01-27 20:52:32Z cxh $
- Author:
- Christopher Hylands
- See Also:
MenuApplication
- Accepted Rating:
- Proposed Rating:
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 |
PtinyApplication
public PtinyApplication()
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()