I like widget bars (if only because they tend to provide an analogue
clock that I consult occasionally),
so over time I’ve used AB5k (Glossitope), WidgetFX, then Google Desktop,
when the later was discontinued I thought I should do my own, so that it
would only be discontinued when I’d stop maintaining it myself.
Eventually I started working on one using JavaFX.
Since I could not find a ‘proper’ way to have a side bar, I tried with
this project to add some AppBar
(doc
and Petzold’s
article on the
subject) support to OpenJFX.
It currently supports adding a main window that is an AppBar on any of
the 4 edges, resizing and transparency.
Tag: JavaFX
This post is a step by step to build OpenJFX 9 on Windows (10 64bits).
It is a refresh of the “Building OpenJFX on Windows” for the 9 sources and with Visual Studio 2013 (Community here) which is now used by Oracle.
Last updated: 2016-10-08, Mercurial URL change
Create a C:\dev directory
Download and install JDK 9 b109
Delete C:\Program Files\Java\jdk-9\lib\jfxrt.jar as otherwise the build won’t succeed
Download Gradle 2.11 and extract it into C:\dev
This post is a step by step to build OpenJFX on Windows (8.1 64bits). It is inspired from the official instructions though it drops Visual Studio Express (which does not come with 64bits compiler and linker) in favour of plain SDK. It also uses Babun rather than plain Cygwin.
Create a C:\dev directory
Download and install a Java 8 JDK (I’m using 8u20 here)
Download Gradle 1.8 and extract it into C:\dev
Download and install Windows SDK 7.1 (no need for the samples or .Net tools)
After a few issues upgrading to JavaFX 1.0 / WidgetFX 1.0 (the SwingComponent.wrap() does not quite do exactly the same thing as the old Component.fromJComponent(), at least for me the resize does not work exactly the same), I’ve released version 0.3 of the Worldclock widget. Also in this release the possibility to enforce the aspect ratio of the world image(s).
Web page: https://worldclock-application.dev.java.net/#Widget Direct launch: http://widgetfx.org/dock/launch.jnlp?arg=https://worldclock-application.dev.java.net/widget-webstart/launch.jnlp
Enjoy,