Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#73 improvements to webstart installation

Enhancement
open
mikeu
WebStart (4)
5
2013-03-16
2009-11-21
mikeu
No

I've deployed VStar on my server to test out WebStart enhancements. I've selected the image from the About box as a temporary splash page. I also created a simple icon which can be installed on the desktop, and it also appears in the javaws cache viewer. We'll need to request that one of our more artistic team members create a real icon to replace my placeholder, and to add text to the splash page image.

http://thuban.physics.brown.edu/vstar/

Click on the vstar.jnlp to see how it works. Than you can use javaws to remove it.

I've tested on Solaris and XP. One odd thing is that the splash page does not appear when I first install, but does on the second attempt to launch VStar. This needs more testing, but I would appreciate if anyone could take a look on other platforms.

Discussion

  • mikeu
    mikeu
    2009-11-21

    WebStart install window with sample icon

     
    Attachments
  • David Benn
    David Benn
    2009-11-21

    That is cool Mike! The addition of those icons will be great, especially the desktop icon. We could ask Nico to make us a nice one. I don't see the splash icon appear at all, only the "V" one. I saw the splash screen appear the first time (Mac OS X, 10.5.8) with your JNLP but only the 2nd and subsequent times with the CS JNLP.

    Di you have to re-sign the jars or just used the cached jars, as a matter of curiosity?

     
  • mikeu
    mikeu
    2009-11-21

    Yeah, this is a fun addition! The icon needs to be a gif or jpg that is 64x64 pixels in size, from what I understand. I have had a difficult time trying to figure out how/when this appears. The behavior does not seem consistent. I found that I had to purge my browser cache and use javaws to remove the old install during testing. I did a fresh build and signed them myself. Otherwise it fails the verify stage.

     
  • mikeu
    mikeu
    2009-11-28

    I've updated http://thuban.physics.brown.edu/vstar/current to include the first draft of the icon created by Nico. This icon is a jpg, and not a transparent gif as I believe was intended. We need to make sure that the colors and transparency are reasonable for a wide range of desktop backgrounds.

     
  • mikeu
    mikeu
    2009-11-28

    • assigned_to: sarabeck --> mu301
     
  • mikeu
    mikeu
    2009-12-07

    See changes that I made to include context sensitive descriptions and tooltip in svn 319. I also added hooks for the splash and icon images. You can test this out at http://thuban.physics.brown.edu/vstar/cs

    http://vstar.svn.sourceforge.net/viewvc/vstar/trunk/vstar.jnlp?r1=319&r2=318&pathrev=319

    Note that not all WebStart features will appear on all platforms. For example, XP does not show the icon in the download dialogue the way that Solaris does. Also, I'm not sure if changes to jnlp will get implemented if a user starts a VStar WebStart from a locally installed icon on the desktop.

     
  • David Benn
    David Benn
    2009-12-07

    Mike, can you say more about the context sensitive descriptions and
    tooltip?

     
  • mikeu
    mikeu
    2009-12-07

    This site describes the structure of the JNLP file:

    http://java.sun.com/docs/books/tutorial/deployment/deploymentInDepth/jnlpFileSyntax.html

    I'll post more info later today when I have more time. But, the short of it is that the tooltip appears when you hover the mouse over the VStar icon on the desktop and the descriptions appear in places like: below the icon image on the desktop and in the java cache viewer.

     
  • mikeu
    mikeu
    2009-12-12

    I have a new splash page for testing at http://thuban.physics.brown.edu/vstar/current/

    A couple of notes: I'm still not sure about the conditions under which Java WebStart will flush locally cached images and start using the new one. You may need to use javaws to remove the installation of VStar (current) or VStar (current-test) if you have run it from my server previously. The first time you click on jnlp to do a fresh install you will see the download box with the VStar icon, but not the splash page. The next time you click on it (locally or on the web) it should show the splash page. The visibility of the splash page and the icon within the download dialogue is not consistent across platforms. More testing on different platforms is needed. In particular Vista, Mac OS X and Linux.

     
  • David Benn
    David Benn
    2012-06-17

    • priority: 5 --> 3
     
  • David Benn
    David Benn
    2013-03-16

    • Priority: 3 --> 5
    • Milestone: Enhancement_-Phase_1 --> Enhancement-_Phase_2