2324252627282930
private final NanoTimer timer; private long lastExecutionDuration; public PanelPainterLoop() { timer = new NanoTimer(); setUpdatesPerSecond(30); }