Brian Foster wrote:
>For a school programming assignment I need to turn off double
>buffering. However Swing double buffering can't be used, and thus
>can't be turned off, because Quartz double buffering is used instead.
>So the normal code doesn't work:
>
>RepaintManager currentManager = RepaintManager.currentManager(c);
>currentManager.setDoubleBufferingEnabled(false);
>
>Have any ideas?
AFAICT, your only choice is to use a platform where you can turn off
double-buffering.
Why does the assignment require you to turn double-buffering off?
And are you sure they don't just require Swing's inherent double-buffering
be turned off (and/or on)?
If we knew why, or what was trying to be accomplished, we might be able to
offer better advice. Otherwise since double-buffering isn't necessarily
completely turn-off-able for a Java platform, your only option is to use
one where it is.
-- 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