aspose file tools
The moose likes JNLP and Web Start and the fly likes passing parameters from JNLP file to swing application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Reply Bookmark "passing parameters from JNLP file to swing application" Watch "passing parameters from JNLP file to swing application" New topic
Author

passing parameters from JNLP file to swing application

VenkataBhanu
Greenhorn

Joined: Jul 30, 2004
Posts: 2
Hello!
How to send parameters from the <application-desc> tag in the jnlp file to the main method of the swing application?

or putting on other words

How can i send parameters from the jnlp file to swing application?
parthiban subramaniam
Ranch Hand

Joined: May 15, 2002
Posts: 116
this might be of big use if you are working in jws
http://hale.homeip.net/javabook/jaws/

in the element resources
<resources>
<!-- set a -D property -->
<property name="java.naming.factory.initial" value="org.jnp.interfaces.NamingContextFactory"/>
<property name="java.naming.provider.url" value="jnp://ws3804:1099"/>
</resources>


hope that helps
cheers,
parthi


Even crazy and silly looking problems are sometimes real.
 
IntelliJ Java IDE
 
subject: passing parameters from JNLP file to swing application
 
Threads others viewed
Need To Create A JNLP file for a swing application
Command line JNLP with App parameters
Swing client w/ WebStart & J2ee
JSP and Swing
JNLP and web application
developer file tools