-
Applet error: MS plug in .vs. Sun plug in
I have a java applet (a pool effect) I've used on several web pages for quite some time. I use MS FrontPage to design web sites and IE 6 (fully patched) to browse the web. Recently I downloaded the Sun plug in as I was told MS will no longer be supporting their version of java in their browser.
If I view the web pages I've created using this effect with MS VM selected, the applet loads and behaves properly. If I view the pages with Sun's plug in selected, the applet does not work and Sun's console lists the following error messsge(s):
Name: PoolMenu Version 1.0
Author: David Griffiths
This is an interactive applet class which takes an
image and covers it in virtual water.
For more information about this and other applets
go to http://www.demon.co.uk/davidg/spigots.htm
Created with Sun JDK 1.1
Unable to create Pool: java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0
Unable to create next frame: java.lang.NullPointerException
java.lang.NullPointerException
at Pool.getImage(Pool.java:268)
at PoolMenu.paint(PoolMenu.java:490)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I tried to visit the applet author's website for assistance, but it is no longer located at the host listed in the code. Does anyone know either how I can fix this or where I can find a version of this applet that will work with both the Sun plug in and the MS plug in?
Thanking you in advance for any help you can offer on this issue.
-
read my JAR tutorial in my sig... skip to the HTML applet part
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks