• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing parameters from JNLP file to swing application

 
VenkataBhanu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic