Java chess clock application