java - Flicker free AWT application -


I am trying to write a silly little app using Java and AWT.

It just runs and excites some shapes, so in the form of the first step, I made a simple app that cleans a canvas with fill every 50ms .

The problem is that, my app flicker every time and then flicker Google is failing to search for simple hello-world type examples of underlying window color flicker-free ATVT apps.

How does such a skeletal code look like?

Take a look at the double buffering code.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -