How to make swing.Timer as a separate class

Printable View