File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes Customize the message for Java Web Start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Customize the message for Java Web Start" Watch "Customize the message for Java Web Start" New topic
Author

Customize the message for Java Web Start

Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

For the default value (false) of silentInstallLicenseAcceptance in Java Web Start when an application's server side has changed, the user will be asked with a message box whether he/she wants to update his local application now or quit the application.

I would like to know if I can manipulate the message that Java Web Start should ask the user. I also would like to know if I can change the button from Yes/No to Upgrade Now and Upgrade Later.

Any API reference, idea, tutorial or sample code would be appreciated.


Ashik Uzzaman
Senior Member of Technical Staff, Salesforce.com, San Francisco, CA, USA.
Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

I think I asked a question too specific to websphere application server with java web start. Let me ask another question here.

When I start my thick client from desktop shortcut, java web start comes into play, checks the timestamps of the signed jar files in the server side and if there are updates available in the server, it automatically downloads the jar files.

My question is, can we show a confirmation dialog box to the user asking if he/she agrees to download the updates available in the server side? If the user agrees, the download will start but if disagrees, the application will quit.

This confirmation dialog box feature is similar to what is added for printing support in Java Web Start for Java SE 5.

Do we as a developer have control over this through java web start? So far my finding is we don't have the control. But I would be happy to know that I was wrong.
[ October 24, 2007: Message edited by: Ashik Uzzaman ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Customize the message for Java Web Start