This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Customize the message for Java Web Start

 
Ranch Hand
Posts: 2379
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 2379
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic