RFC: Loading animation for applets

Lillian Angel langel at redhat.com
Wed May 27 11:00:51 PDT 2009

Omair Majid wrote:
> Hi,
> The attached patch adds an applet loading animation for IcedTeaPlugin 
> to icedtea6.
> The patch adds binary files (images). A mercurial bundle is available 
> from http://icedtea.classpath.org/~omajid/applet-loading-animation.hg. 
> (Use hg unbundle to apply it.)
> The main change is adding an animator class to NetxPanel. This 
> PluginAppetLoadingAnimator shows the animation in the panel until the 
> applet has initialized. To have the animator stop when the applet has 
> finished initializing, extra events have been added. All these events 
> are now sent by AppletPanel instead of NetxPanel since only 
> AppletPanel knows exactly what the state of the applet it.
> ChangeLog
> 2009-05-27  Omair Majid  <omajid at redhat.com>
>     * Makefile.am
>     (ICEDTEA_PATCHES): Apply applet patches.
>     (stamps/patch.stamp): Copy applet images over into resources/.
>     * patches/icedtea-applet-additional-events.patch: New file. Send
>     additional applet events. Send them from here instead of NetxPanel.
>     * patches/icedtea-applet-images.patch: New file. Fixes and creates
>     Makefiles to install the images into resources.jar.

Remember to update HACKING if you are creating new patches. Also, make 
note of them here: http://icedtea.classpath.org/wiki/IcedTea_JDK6_Patches


>     * plugin/icedtea/sun/applet/PluginAppletLoadingAnimator.java: New
>     file. This class is responsible for showing the applet loading
>     animation.
>     * plugin/icedtea/sun/applet/resources/icedtea-background-*.jpeg:
>     Frames for the loading animation.
>     * plugin/icedtea/sun/applet/resources/icedtea-text.png: New file.
>     IcedTeaPlugin logo.
>     * rt/net/sourceforge/jnlp/NetxPanel.java: Add animator.
>     (NetxPanel): Initialize and add applet animator.
>     (runLoader): Dont send applet events. AppletPanel takes care of that
>     now.
> Any comments?
> Cheers,
> Omair

More information about the distro-pkg-dev mailing list