1
0

Change sleep time for redraw

This commit is contained in:
Victor 2014-03-15 18:20:03 +02:00
parent 9e0b49cea8
commit 601c81fbaa

View File

@ -99,7 +99,7 @@ public abstract class DoubleBufferedCanvas extends Canvas implements MouseListen
while (keepRunning) { while (keepRunning) {
update(); update();
try { try {
Thread.sleep(100); Thread.sleep(25);
} catch (InterruptedException ex) {} } catch (InterruptedException ex) {}
repaint(); repaint();
} }