/analog-clock

Analog Clock using Java Gui.

Primary LanguageJava

Analog Clock

Analog Clock is a simple Java application that displays an analog clock with hour, minute, and second hands. The clock features a graphical user interface built using Java Swing, providing an aesthetically pleasing representation of time.

Features

  • Analog Display: The application presents a traditional analog clock face with hour markings, minute markings, and second hand.
  • Dynamic Updates: The clock continuously updates in real-time to reflect the current hour, minute, and second.
  • Dark Mode: Users have the option to toggle between light and dark modes, enhancing the visual experience.

Usage

To run the Analog Clock application, execute the Main class. The clock will appear in a new window, and you can observe the dynamic movement of the clock hands to display the current time. Additionally, you can explore the dark mode feature by accessing the "Options" menu.

How to Use

  1. Compile and run the Main class.
  2. Observe the analog clock in the graphical user interface.
  3. Explore the "Options" menu to enable or disable dark mode.

Dark Mode

The application includes a dark mode, allowing users to switch between light and dark themes. To activate dark mode, simply select the "Dark mode" option from the "Options" menu. The clock display will adjust accordingly.

Dependencies

This project requires Java to be installed on your system.

Contributing

Feel free to contribute to the project by submitting bug reports, feature requests, or pull requests. Your input is valuable!


Enjoy using Analog Clock! If you have any questions or suggestions, please don't hesitate to get in touch.