This is a desktop analog clock gadget program written in Java and JavaFX.
This repository has a source project of Analog Clock Gadget to build with Gradle 7.2+ and Java SE 17+ with JavaFX (e.g. Liberia JDK Full).
Additionally, to create Windows installer, use WiX Toolset 3.10+.
- clone git repository
- run gradlew jpackage
Option | Usage | Meaning | default |
--x |
--x=N |
gadget screen position of x to N | 0 |
--y |
--y=N |
gadget screen position of y to N | 0 |
--scale |
--scale=N |
scale ratio of gadget screen size to N | 1.0 |
--fps |
--fps=N |
animation frame per second to N | 60 |
--on-top |
--on-top=T |
gadget always on top if T is true | false |
- Note1) default fps(=60) consumes kind of cpu usage. recommend to set fewer fps.
- close gadget by context menu (pop up by right mouse button)
- move gadget by mouse dragging
- resize gadget by Ctrl key + mouse wheeling, or from context menu
- change always on top by context menu
The url below is the wiki page of the development history of this gadget (in Japanese).
The session slide in JJUG CCC 2015 Spring (Japan Java User Group, Cross Community Conference). (in Japanese)
https://www.slideshare.net/torutk/java-fxjjug-ccc-2015-spring-g7