Google the Swing Timer tutorial and there you will find not only a quick refresher but also sample code.