clock = new AlarmClock();
Date now = new Date(); g.drawString(now.getHours() + ":" + now.getMinutes() + ":" + now.getSeconds(), 5, 10);
clock.letMeSleepFor(this, ONE_SECOND);
repaint(); clock.letMeSleepFor(this, ONE_SECOND);