/AnalogClockGadget

JavaFX analog clock program to alternate for a desktop analog clock gadget

Primary LanguageJava

Analog Clock Gadget

This is a desktop analog clock gadget program written in Java and JavaFX.

How to build

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+.

Build step

  • clone git repository
  • run gradlew jpackage

Usage

command line option

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.

user operation

  • 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

reference

history of development

The url below is the wiki page of the development history of this gadget (in Japanese).

https://www.torutk.com/projects/swe/wiki/JavaFX%E3%81%A8%E3%82%A2%E3%83%8A%E3%83%AD%E3%82%B0%E6%99%82%E8%A8%88

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