This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
i found it!!!
Posted by Chin Loong on September 26, 2001 at 9:44 AM
Hey Jun, maybe this is the answer.. i was snooping around java.sun's pages when i found this : [snip] Turn off Swing's built-in double-buffering. This allows for more efficient communication between the client and server. To turn off Swing double-buffering, add this line of code to your app before you create any Swing components: RepaintManager.currentManager(null).setDoubleBufferingEnabled(false); [/snip] maybe this is how they enable and disable double buffering.. hope this helps!! ^_^ > In Component of jdk1.2.2, there's a method called "isDoubleBuffered", which returns a boolean value depending whether things are doubleBuffered or not. I'm using Convas which is a subclass of Component. How do I set or enable double buffering? I've looked at all the methods and attributes and I haven't found a way to enable the double buffering. Please help!! > Thanks, > Jun
Replies:
|