• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

permission to open browser

 
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run my Swing App locally, it can open a browser window and navigate to a URL.

When I use webstart to distribute my app, it lacks permission to open a browser window. How can I give it permission to do this?

Thanks a bunch.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, according to the documentation you need to have:



in the JNLP file as well as having all your JAR files signed.
[ August 16, 2005: Message edited by: Gregg Bolinger ]
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks! I should have read that better.
I was having trouble sorting out what the steps were between ant, jnlp, and signing jars. I got it working.

a few notes:

to sign a jar with a fake certificate, these are the ANT commands I used:


dname is expecting a name/value pair and must be in the format dname="XX=abcdefghig"
otherwise, you will get an AVA format error
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!