[rfc][icedtea-web] plugin splash screen

Jiri Vanek jvanek at redhat.com
Mon Feb 13 07:38:02 PST 2012


Hi!

This is plugin's spalsh screen based on Deepak's old code.
You can see imaged  spalshscreen here: http://download.eng.brq.redhat.com/scratch/jvanek/pluginLoading.gif
Before JVM actually starts, there is just gray box. Currently I have no idea how to get rid of it. But I'm also not sure if it is possible or if it have some value to solve it.
The grey box AFTER the splash-screen is correctly loaded empty applet (sorry for providing such a dummy one:-/). In case 3.5mb  animated gif is too big for you  just check this stalled one -  http://download.eng.brq.redhat.com/scratch/jvanek/screen55.gif ;)

The diff in atachement is code of spalsh creen nearly identical with original Deepak's one - just adapted for head.  I had just noticed that t is not at actual head - the diff of file b/netx/net/sourceforge/jnlp/Launcher.java is just "hardcoded" Danesh's fix for recent applet regression and have nothing to do with splash screen.
The changes in testengine are just funny ones - for observering the spalsh screen, but I think they are worthy to be inside. In case that some test of splash screen will be in, they will be necessary.
If you want to see the splash screen in work, make install and configure firefox, then check any applet;). If you want to see more of cycling sphere, you can start tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java class with -Dtest.server.dir setted correctly as tests do, add attached html file into this jnlp_server and lunch it... (It is how this gif was created).

Any comments to current approach are more then welcomed!

Things for future I'm thinking about
- when applet will fail to load, something happens  - eg text with exception, just sad emoticon with information about debuging console....
- javaws splash screen - I think that when plugin have spalsh screen, then javaws should have it too, to be unified - My ideas are  - at first use gif image for "java -splash" and then "quickly" replace him ASAP with true vector graphic. Both vorthy? Just vector graphics? Just animated gif? (not animated version of luncher is attached)
- remake the loadng logo - I like Deepaks aproach, and I'm considering it as nice one.  But my sense for art is Zero-one. If you would like to suggest different one, please keep in mind it msut be vector one. A can also visit few frends oriented to computer graphic (I mean art, no pure programming)  and maybe we can find and create something better. But currently I consider it as waste of time.


Thanx for any thoughts!

   J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: appletWithServerFixes.diff
Type: text/x-patch
Size: 51674 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120213/b08efe73/appletWithServerFixes.diff 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120213/b08efe73/appletTest.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: javaws
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120213/b08efe73/javaws.ksh 


More information about the distro-pkg-dev mailing list