This JavaFX component is a clock with the following features:
- ON/OFF button to turn the clock on and off.
- Ability to set an alarm time and turn the alarm on/off. When the alarm is on and the alarm time is reached, the clock will display a message to alert the user.
- A button to toggle between 12-hour and 24-hour modes.
- Clone this repository.
- Import the project into your IDE.
- Run the
Clock.java
file.
- Turn the clock on/off by clicking the ON/OFF button.
- Set an alarm time by clicking the "Set Alarm" button and entering the desired time.
- Turn the alarm on/off by clicking the "Alarm ON/OFF" button.
- Toggle between 12-hour and 24-hour modes by clicking the "12/24" button.
This project is licensed under the MIT License. See the LICENSE file for details.