Change sleep time for redraw
This commit is contained in:
parent
9e0b49cea8
commit
601c81fbaa
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user