I have the following code written. To paint the first graphic, stop a while and paint another graphic and then set display to another graphics object. But it seems not working property.
start_time = System.currentTimeMillis();
end_time = start_time;
end_time = System.currentTimeMillis();
then set the display to another graphic objects
gc is a buffer.
the problem now is it do stop for a while when the loop run but it is not preforming the repaint() commands.
Anyone got an idea to fix it ?
I can't use thread in this class to preform this bcs i have the run() to perform another loop. THX