Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   Tech Help (http://zelaron.com/forum/forumdisplay.php?f=329)
-   -   Java: Avoiding paint or getting rid of this accursed blinking (http://zelaron.com/forum/showthread.php?t=33635)

Demosthenes 2004-10-05 08:35 PM

Java: Avoiding paint or getting rid of this accursed blinking
 
You know everytime you call repaint() the program redraws everything, correct? And you know how that makes your program "blink?" Is it possible to get rid of the accursed blinking?

Mantralord 2004-10-06 05:08 AM

I don't know about Java for this one, but anywhere else you would use the LockWindowUpdate API function...

Demosthenes 2004-10-06 02:14 PM

Found out about BufferedImage(s), and that helped a lot. Thanks.


All times are GMT -6. The time now is 10:28 PM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.