473,411 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Pool menu effect error

I use a java applet on several web pages that is no longer functioning
in my browser. I use IE 6 (fully patched). When I use Internet
options/Advanced to select the MS browser plug in for java, the applet
loads and functions correctly. When I select the Sun browser plug in
for java the applet doesn't load and Sun's console returns the
following gibberish. (I'm sure it isn't gibberish to everyone, just
me):

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
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.pumpOneEventForHierar chy(Unknown
Source)

at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown
Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
I attempted to contact the applet's author via the site listed in the
code above, but it is no longer hosted at that site. So I guess my
question is, does anyone know how to fix this so that the applet works
for IE 6 with Sun's plug in, or perhaps someone else has written a
newer script for this effect that I can download?

Thanking all in advance for time and attention to this issue.
Jul 20 '05 #1
3 1221
In article <ce**************************@posting.google.com >,
an*******@lycos.com says...
I use a java applet on several web pages that is no longer functioning
in my browser.


Have you asked in a Java newsgroup and read the documentation that came
with it?

--
Hywel I do not eat quiche
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php
Jul 20 '05 #2
Hywel <us****@kibo.org.uk> wrote in message news:<MP************************@news.individual.n et>...
Hywel says...

Have you asked in a Java newsgroup and read the documentation that came
with it?


1) This is where I was directed by a user in another forum. Am I still
in the wrong place? If not, could you please direct me to a more
appropriate group?

2) Yes, I've read all the documentation (minimal) and the applet has
worked fine for over a year, is still working fine, provided my MS
browser is using the MS java plug in. Once I change to Sun's plug in,
the applet completely fails on pages I have designed and when I go to
sites where others are using the same exact applet (same author, same
code), if it does load in my browser, the effect behaves in a sluggish
manner.

Thank you for taking the time to read and respond to my post.
Jul 20 '05 #3
In article <ce************************@posting.google.com>,
an*******@lycos.com says...
Hywel <us****@kibo.org.uk> wrote in message news:<MP************************@news.individual.n et>...
Hywel says...

Have you asked in a Java newsgroup and read the documentation that came
with it?
1) This is where I was directed by a user in another forum. Am I still
in the wrong place? If not, could you please direct me to a more
appropriate group?


A Java newsgroup. comp.lang.java, for example.

2) Yes, I've read all the documentation (minimal) and the applet has
worked fine for over a year, is still working fine, provided my MS
browser is using the MS java plug in. Once I change to Sun's plug in,
the applet completely fails on pages I have designed and when I go to
sites where others are using the same exact applet (same author, same
code), if it does load in my browser, the effect behaves in a sluggish
manner.


Perhaps the fault is with the browser. Try a proper one, such as
http://www.mozilla.org/

--
Hywel I do not eat quiche
http://kibo.org.uk/
http://kibo.org.uk/mfaq.php
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Anonymust | last post by:
I use a java applet on several web pages that is no longer functioning in my browser. I use IE 6 (fully patched). When I use Internet options/Advanced to select the MS browser plug in for java, the...
2
by: Troglite | last post by:
I am attempting to research an error condition that I am experiencing with the Config Block in EntLib 1.0. I have an admin web page that I use to populate some config values. I then have a second...
4
by: Yuk Cheng | last post by:
<<<start index.htm>>> <html> <head> <script> function perform(action){ } </script> </head>
4
by: Bjørn T Johansen | last post by:
I am running a connection pool for the PostgreSQL and I was wondering which values you would reccommend for the connection pool? <parameter> <name>maxWait</name> <value>5000</value>...
5
by: david.kao | last post by:
Hi All: I am creating a COM+ Pool object in C#. I set up the following attributes: JIT (true),Pool size; and at the end of each public method I called ContextUtil.DeactivateOnReturn=true to set...
6
by: Wayne Smith | last post by:
Hi, We are having a few problems with ASP.Net pages hanging during load when an Application Pool is recycled. To test this we have setup the following ASP.net page which refreshes every 2...
0
by: Garmt de Vries-Uiterweerd | last post by:
X-posted to opera.page-authoring, because this is a bit Opera-specific for the moment. F'up to ciwas. I am playing around with dedicated styling for the projection media type.. Currently the...
2
by: Riverburn | last post by:
I've got a question regarding making menu's in Css. I've made a picture of the menu in photoshop, have made the mouseover effect in different frames, and made a quick pregenerated html/javascript...
5
by: mackenzie | last post by:
Hello, I am looking for a little bit of help. I am trying to create a dynamically allocated object which contains one or more objects of type boost::pool<>. I get a compiler error when an object...
1
by: johnyjj2 | last post by:
Hello! I've got web application created for MSSQL and IIS. There are two directories in this application - Scripts and WebSite. In Script there is file CreateDb.sql. I need to run it so that it...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.