The aim of this program is to display the current running time in digital format using Java swing and awt libraries. The output of this program open as new window which shows the current time and time-period(AM/PM).
- Java Swing - used to create window-based applications, built on the top of AWT API and entirely written in java.
- Java AWT(Abstract Windowing Toolkit) - an API to develop GUI or window-based applications in java.
- Java Text - used for Date format in this program.
>> javac DigitalWatch.java
>> java DigitalWatch
A window pops up showing the digital watch.
