Ray's Test Page - Java Applet Test Page

This page written as a response to  250Free Support Ticket SBD-576411

 

The following is the flag applet from the Anfyteam and uses the files AnFlag.class, Lware.class, anfy.class and AnFlag.jar for speedy loading on recent browsers.

; Registration code (if you have it) ; URL of optional link when clicked ; Reglink opened in new frame? ; Name of new frame for reglink ; Statusbar message ; Resolution (1-8) ; RED comp. of backg. colour (0-255) ; GREEN comp. of backg. colour (0-255) ; BLUE comp. of backg. colour (0-255) ; Type of drawing pattern (1-8) ; Speed of wind ; Curve level (1-5) ; Wind intensity (0-20) ; Nation (1-34) ; Pixel density (1-20) ; Optional image over applet ; Over image X offset ; Over image Y offset ; Memory deallocation delay ; Task priority (1..10) ; Min. milliseconds/frame for sync Sorry, your browser doesn't support Java. ; Message for no java browsers.

 

The following is the water applet from Durius and uses the the files DuriusWaterPic.jar and DuriusWaterPic.cab.

When run in IE an error message appears saying "Exception: Java.Lang.NegativeArraySizeException"

When run in Firefox and the Java2 environment downloaded the following error message is found in the console...

Exception in thread "Thread-3" java.lang.NullPointerException
at sun.plugin.viewer.LifeCycleManager.startAppletPanel(Unknown Source)
at sun.plugin.viewer.WNetscapePluginObject.startPlugin(Unknown Source)
at sun.plugin.viewer.WNetscapePluginObject$Initer.run(Unknown Source)
Exception in thread "Thread-4" java.lang.NullPointerException
at sun.plugin.viewer.LifeCycleManager.startAppletPanel(Unknown Source)
at sun.plugin.viewer.WNetscapePluginObject.startPlugin(Unknown Source)
at sun.plugin.viewer.WNetscapePluginObject$Initer.run(Unknown Source)
Exception in thread "Thread-2" java.lang.NullPointerException
at sun.plugin.viewer.LifeCycleManager.startAppletPanel(Unknown Source)
at sun.plugin.viewer.WNetscapePluginObject.startPlugin(Unknown Source)
at sun.plugin.viewer.WNetscapePluginObject$Initer.run(Unknown Source)
java.lang.NullPointerException: peer
at sun.awt.windows.WCanvasPeer.create(Native Method)
at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
at sun.awt.windows.WToolkit.createPanel(Unknown Source)
at java.awt.Panel.addNotify(Unknown Source)
at AnFlag.init(AnFlag.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-AnFlag.class" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NegativeArraySizeException
at Screen32.<init>(Screen32.java)
at DuriusWater.init(DuriusWater.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-DuriusWater.class" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NegativeArraySizeException
at Screen32.<init>(Screen32.java)
at DuriusWater.init(DuriusWater.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-DuriusWater.class" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NegativeArraySizeException
at Screen32.<init>(Screen32.java)
at DuriusWater.init(DuriusWater.java)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "thread applet-DuriusWater.class" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

However, other applets in the Durius collection do work...

 

This page created 29th July 2006


GoStats stats counter