[4543] in java-interest

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

Waiting for mouse movements

daemon@ATHENA.MIT.EDU (Greg Travis)
Fri Jan 5 14:20:33 1996

Date: Fri, 5 Jan 1996 12:43:53 -0500
From: Greg Travis <greg@earthweb.com>
To: java-interest@java.sun.com


> From: flar@bendenweyr.Eng.Sun.COM (Jim Graham)
> Date: Wed, 3 Jan 1996 23:11:46 -0800
> Subject: Re: Animator
> 
> > Anyone else noticed the Animator applet seems to wait for
> > mouse movement to keep loading images in Netscape b4?  It just loads
> > all images up in the appletviewer, but stops loading in b4 if you don't
> > move the mouse.

This problem reminds me of one that I had: I had an applet with a
bunch of componenets (text components, etc) that were calling
repaint() about once per second.  I found that if I gave focus to a
TextArea (clicked in it), no redraws would happen unless I moved the
mouse around (i.e. caused events).  As soon as I clicked in some other
componenet, things went back to normal, and things were properly
redrawn once per second without moving the mouse.

Could it be related?

> 
> This could be one of two bugs.
> 
> There was a bug in the JDK beta release (which is close to what Netscape
> Navigator 2.0 b4 is based on) which caused the X11 event handling code
> to lock up the runtime in some random cases that were hard to reproduce.
> This bug was fixed in the JDK beta2 release which hasn't propagated to
> a Netscape release yet.

This bug doesn't sound as much like my bug.

-- 
Greg Travis - Internet Software Developer E+++
EarthWeb, LLC - 3 Park Avenue, 38th floor, Excellent View
New York City, NY 10016 greg@earthweb.com 212-725-6550x242
If the "Internet is the Computer", who does the backups?
-
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