Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java applet flickers in safari and firefox




On 30 Jan 2007, at 09:48, Irma Kusuma wrote:

A newbie to this list :) hullo to all.

I'm developing a simple applet that draws/displays an image. In order to prevent flickering, I override the update() method so that it uses double buffering.
When I open my applet in Windows, it works fine...but using mac (both safari and firefox) the applet still flickers.

I've read about the automatic double buffering in OS X and I'm wondering whether this might cause the problem....and what can I do.

One solution is to use JApplet because that does the Right Thing on OS X and other platforms. Another might to be to look at java.awt.image.BufferStrategy. On the other hand, I don't see flickering on my animated Applets in Safari except when scrolling the window, so maybe you're doing some clearing that you haven;t spotted.

Jerry


 _______________________________________________
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

References: 
 >Java applet flickers in safari and firefox (From: Irma Kusuma <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.