https://github.com/drupol/clocksystem
Gradle-based Java project for a Clock with Swing GUI
https://github.com/drupol/clocksystem
Last synced: 4 months ago
JSON representation
Gradle-based Java project for a Clock with Swing GUI
- Host: GitHub
- URL: https://github.com/drupol/clocksystem
- Owner: drupol
- License: gpl-3.0
- Created: 2025-02-20T09:45:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-20T09:57:25.000Z (over 1 year ago)
- Last Synced: 2026-01-15T20:59:03.210Z (5 months ago)
- Size: 202 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ClockSystem
This is a gradle-based Java project for a Clock with Swing GUI and JUnit5 unit tests. It has been created and used by Tom Mens for educational purposes at the University of Mons.
The application includes a watch, with timer, stopwatch and alarm functionality.
Its implementation is based on a statechart, using the state and singleton design patterns.
## Instructions
The application has been tested locally with Java 21 and Gradle 8.5 (on MacOS). To run it locally, download the latest release and run the following command-line instructions, assuming you have already gradle installed on your machine:
"gradle wrapper" (creates the necessary gradle wrapper files to be able to build the app with gradle).
"./gradlew build" (executes the generated wrapper to build and test the application; build should be successful, but will fail if some of the unit tests fail)
"./gradlew run" (executes the Java application by opening a graphical user interface you can interact with)