why not just add a JLabel to the JPanel, showing the time? the setText() mehtod of JLabel is
Thread safe.
(sorry, I just don't understand why you're using the paint methods in this case. if you want a special font or background, that's no problem with JLabel.)
chantal