A simple console-based alarm clock built in Java that allows users to set a specific time for an alarm. The program continuously displays the current system time and plays an audio alert when the specified alarm time is reached.
The alarm can be stopped by pressing ENTER in the console.
- Set a custom alarm time
- Displays a live digital clock in the console
- Plays an audio alert (.wav file) when the alarm triggers
- Stop the alarm by pressing ENTER
- Uses multithreading so the clock runs independently
- Java
- Java Time API (
LocalTime) - Java Sound API (
Clip,AudioSystem) - Multithreading (
Runnable,Thread) - File Handling