how to make a digital clock from using code of java,