Flickering problem
2 posts in topic
Flat View  Flat View

Posted By:   Anandan_varadarajan
Posted On:   Wednesday, June 20, 2001 08:40 PM

How Do I avoid Flickering problem in Applets while Using repaint() method?

Re: Flickering problem

Posted By:   ramanujam_ragavan  
Posted On:   Tuesday, July 10, 2001 08:45 AM

use the createImage(width,height) method to generate a false image and set a bool value to true immediately after repaint().
code a method such that whenever the
boolean value is true, the createdImage is drawn before an image or controls are rendered .This will give the user an illusion that the rendering is pretty fast as against when some transition takes place.

This is called DoubleBuffering

Re: Flickering problem

Posted By:   John_Zukowski  
Posted On:   Friday, June 22, 2001 07:55 AM

It is called double buffering and is covered in the AWT FAQ.
About | Sitemap | Contact