MegaBight <email@hidden> wrote:
>At first I thought it wasn't flashing as an applet in Safari, but
>colors I used in
>the Safari test case made the flash harder to see, but setting the
>background
>to black and the lightweight component colors to red and yellow really
>makes the flashing visible. It seems clear that somehow the
>ScrollPanePeer
>is forcing the background of the ScrollPane's children to be cleared at
>every
>repaint. Overriding ScrollPane's paint and update doesn't help either.
Funny thing, I was just testing a ScrollPane holding a single custom
Component on MRJ 2.2.5 and it shows the scrolling flicker. But the same
JAR running on Mac OS X under 1.4.1 or 1.3.1 doesn't flicker, AFAICT. Or
maybe it does flicker on Mac OS X but I just can't see it with my video
card. Haven't tried 1.4.2 yet.
I doubt the bugs are technically related, since 1.4.2 is Cocoa-based, and
MRJ is QuickDraw. Convergent devolution, I guess.
>This bug is still present in the most recent 1.4.2 update as well.
>Bummer.
Agreed.
>Final Solution: Re-implemented ScrollPane as a lightweight container.
Is the code public?
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden