A simple stopwatch program in Java swing component