[5396] in java-interest

home help back first fref pref prev next nref lref last post

Resend -- clearRect problem in Netscape 2.0

daemon@ATHENA.MIT.EDU (Gary L. Craig)
Wed Feb 7 17:55:08 1996

Date: Wed, 7 Feb 96 13:56:17 EST
From: craig@cat.syr.edu (Gary L. Craig)
To: java-interest@java.sun.com

Sorry if this gets replicated (I had a mailer problem).

This morning I was working with some old Applet code and noticed a
local problem (perhaps global) with Netscape 2.0.   I have an applet
  http://www.cat.syr.edu/~craig/test/example1.html

which displays data files as BarGraphs.  The applet receives a number
of filenames from HTML which it sets up in a Choice!  Anyway, whenever
to select a new file, the BarGraph is updated to reflect the new file.

This requires the default behavior of update() to clear the panel by
doing a clearRect of the bounds in the Background Color.   This
behavior is not working in any of our Netscape 2.0 installations
(Solaris 2.4, SunOS 4.1, or HP-UX).    To track this down further, I
altered the applet to override update, and I explicitly call
clearRect.

Still this version (the one accessible via the above URL) does not
perform the clearRect from within Netscape.   This works fine within
Appletviewer and it was working last week under Netscape 2.0B5!

Anyone else experience this "feature"?

Any ideas?

-- 
Gary L. Craig                                   phone: (315) 443-5936
Superlative Software Solutions, Inc. (3Si)      FAX: (315) 443-4745
2-212 Center for Science and Technology         email: craig@cat.syr.edu   
Syracuse University   Syracuse, NY 13244-4100   http://www.cat.syr.edu/~craig
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post