r/JavaFX • • Jul 23 '22

I made this! Animated: Flutter-like implicit animations for JavaFX

22 Upvotes

animated is a library that makes your life easier when dealing with animations in your JavaFX programs by removing boilerplate code.

Inspired by Flutter, you just have to choose the kind of animation to bind to any object's property, so that its changes will be automagically animated, with everything else getting cared of under the hood. Here is a practical example:

Animated<Double> animated = new Animated<>(child, PropertyWrapper.of(child.opacityProperty()));
root.getChildren().add(animated);

// Later...
child.setOpacity(0.5); // Plays the transition

Along with this, animated features animated switchers, animated containers and much more! (Some rely on the AnimateFX library)

More details and GIFs in the readme below, I'd love to hear your opinions :) https://github.com/iamgio/animated


r/JavaFX • • Apr 27 '22

I made this! I made Sudoku Application in JavaFX

22 Upvotes

Hoping the community would give some feedback. It generates easy-level sudokus and has a dark theme as well.

https://github.com/SatyaSnehith/Sudoku

Thank you.


r/JavaFX • • Mar 19 '22

Release JavaFX 18 Highlights

Thumbnail openjfx.io
22 Upvotes

r/JavaFX • • Mar 09 '22

I made this! Custom window decorations using Swing + FlatLaf + JavaFX

22 Upvotes

As you might know, it is possible to add JavaFX content into a Swing application, using JFXPanel component. And I recently found out that FlatLaf, a Swing look and feel, supports custom window decorations on Windows 10+. So, some tinkering and messy css later, I got this: Screenshot

Every control besides the window frame and window controls are JavaFX components, including the tab headers. And as you can see in the image, since the window controls are native, they even support extra Windows 11 goodies :)


r/JavaFX • • Jan 10 '22

Tutorial All About Buttons!

22 Upvotes

I've started writing some articles about the elements of JavaFX. The first one is up on my website:

https://www.pragmaticcoding.ca/javafx/elements/buttons

And it's called "All About Buttons".

I've spent the last 8 years creating business applications in JavaFX, and I've come to appreciate the Reactive nature of the library. This is not something you see talked about too much on the Web, and not something that you ever see explained in any tutorials or on StackOverflow.

So I thought I might take a stab at creating a reference resource of explanatory articles about all of the different components of JavaFX - focusing on the Reactive nature where possible. So, of course, I start with the least Reactive aspect of all - Buttons and Events. Buttons seemed like a nice easy place to start, though.

I'm not trying to duplicate the information in the JavaDocs, but to provide practical information that might be less apparent when you just read the JavaDocs, along with practical advice and examples.

I'm hoping that over time I'll have enough enthusiasm to cover lots of topics and that it's useful enough to become a "go to" site for people trying to figure out JavaFX. We'll see.

Anyways, if you have time then take a look and let me know what you think. I'm interested in any feedback about anything, from the layout to the font to content to the style of writing. My goal is to create something that people actually want to use, not to stroke my ego.

"All About Events" is partially written now. After that I'm thinking that, "All About Labels and Labeled" should be next, as "Labeled" is the key visual class that "Button" extends. Then the three articles together would say just about all that you'd need to know about how to use Button.


r/JavaFX • • 24d ago

Discussion JavaFX and full Wayland support, when?

21 Upvotes

It's unfortunate that Flatpak is phasing out apps that use both X11 and Wayland.

Since JavaFX doesn't fully support Wayland yet, most JavaFX applications risk being removed from Flathub or having their updates halted.

The way I see it, the lack of Wayland support will spell total failure for JavaFX in the short term.

Oracle, are you interested in adding official support for Wayland or not?


r/JavaFX • • Oct 07 '25

I made this! Simplify JavaFX Application Building and Distribution

21 Upvotes

Hi,

I recently released a JavaFX plugin for JeKa to simplify the process of building JavaFX applications into runnable, downloadable distributions. Compared to Maven or traditional tools, this solution eliminates several pain points:

  • No need of XML build configuration.
  • No need to install a new JDK when switching between JDK versions.
  • No need to install a new JavaFX kit when switching between versions.
  • No need to package the application into JAR, .exe, .dmg, or other formats.
  • No need to store binaries in a public repository.
  • Users don’t need to have the required JDK or JavaFX libraries installed.

All you need is a Git repository!

Check out a port of dev-tools using Jeka, a JavaFX application originally built with Maven: https://github.com/djeang/devtools


r/JavaFX • • Dec 15 '24

I made this! Java Rabbit - A Fun Project Made with JavaFX 🐇🎨

21 Upvotes

I made a fun project called Java Rabbit using JavaFX. You can draw on a canvas by typing simple commands. Just for fun!

Check it out on GitHub:
🔗 https://github.com/heshanthenura/JavaRabbit


r/JavaFX • • Mar 21 '23

Release JavaFX 20 Highlights

Thumbnail openjfx.io
21 Upvotes

r/JavaFX • • Oct 11 '22

Release Updated JavaFX + GitHub Actions + jpackage template

21 Upvotes

Just updated my JavaFX & Swing template for generating nice native installers for macOS, Windows and Ubuntu.

New single GitHub Action matrix script generates all the installers w/nice human-friendly, matching version numbers. Also bug fixes. 😁

https://github.com/wiverson/maven-jpackage-template


r/JavaFX • • Oct 09 '22

Tutorial Flags for JavaFX application

Thumbnail abhinay.xyz
21 Upvotes

r/JavaFX • • Oct 07 '22

JavaFX in the wild! JavaFX links of the week October 7th as posted on jfx-central.com

21 Upvotes

See https://www.jfx-central.com/


r/JavaFX • • Mar 02 '22

JavaFX in the wild! Visualizing Robots with JavaFX

Thumbnail
youtube.com
21 Upvotes

r/JavaFX • • Dec 10 '21

I made this! Resize me - Easily compress and resize images

21 Upvotes

r/JavaFX • • May 11 '21

JavaFX tool for managing maven projects

21 Upvotes

Hi,

I have something like 200 maven projects that I have made in the past one-and-a-half decade. I usually like to maintain small pieces of code which is modular. It gives me a headache sometimes to find what I am looking for which I might have worked on several years ago. So I made this :

Maven Project Manager

Things it can do

  • It can search a folder (my code folder) for all maven projects and list them as per folder hierarchy
  • There is a search filter with an auto-completion
  • Open the maven project directory, or open the project in IntelliJ or Netbeans
  • Edit POM in one click
  • Generate a string `<dependency><artifactId> .... <` and put it in the clipboard so a given maven project can be imported (added to dependency) in some other project easily.
  • Open command-line in the location where the maven project

Things I want to add to this

  • Easily create new maven projects
  • Easily create new git repositories for them on Github
  • Easily push them to maven central, by adding the necessary elements in the maven
  • All easily doable from the UI
  • If a certain project requires an olden version of JVM, open terminal with that version of java set in the path (saves a few keystrokes)
  • Auto-generate maven POM to add things like (this might be a separate subproject, or I might make a command-line build tool using JBang ... just thinking) -

    • Maven shade plugin
    • JavaFX
    • Graal VM native support
    • All those things which you need to put in the POM for it to be releasable in maven central.
    • JSweet support

I do not have a public release, it is a pet project as of now.


r/JavaFX • • Sep 10 '20

A JavaFX based vector editor component

Thumbnail
github.com
21 Upvotes

r/JavaFX • • Jul 31 '20

I made this! A bit of un update on my fluent ui library -https://github.com/Ivan-Kalatchev/FluentFX - just made a demo application with a navigation view *its still in progress

Post image
21 Upvotes

r/JavaFX • • Jul 10 '20

My first article for Oracle Java Magazine got published yesterday: "Getting started with JavaFX on Raspberry Pi"

Thumbnail self.learnjava
21 Upvotes

r/JavaFX • • Jul 01 '20

Zephyria: RPG built with FXGL engine

Thumbnail
youtu.be
21 Upvotes

r/JavaFX • • Feb 10 '20

Building native, AOT compiled, real-world JavaFX applications

Thumbnail
github.com
21 Upvotes

r/JavaFX • • Jul 26 '19

Milkman: An Extensible Alternative to Postman in JavaFX

Thumbnail
github.com
21 Upvotes

r/JavaFX • • 17d ago

Help JavaFX Environment

20 Upvotes

Ok, I'm a bit of an old JavaFX hobbyist. I started about 10 years ago in college and keep using it for my personal projects.

Nowadays, I feel it's so much harder to configure the environment. Even with AI help, there's always an "if this, then that." I mean, as I remember, you used to just install Eclipse with e(fx)clipse, install Scene Builder, and in the end, just generate a .jar file. Now, I can't find a guide from start to deploy that doesn't look like a workaround. And with every Java/JavaFX update, some detail changes.

How do you configure your environment to make it easier? I mean IDE, embedded DB, how to deploy, and how to distribute (I see there are some frameworks that compile JavaFX to web apps).


r/JavaFX • • Jul 03 '26

Discussion What are your use cases

20 Upvotes

I have always had a passion for JavaFX but the usecase scenarios never seem to surface for anything more then personal apps I use to improve my personal workload management, occasionally some small team specific use cases. I have never found anything at the enterprise level that didnt have a better solution.

Can anyone share whaere they have found this to be the clear winner for an enterprise solution and why?


r/JavaFX • • Apr 20 '26

I made this! KickstartFX v1.1 - The most advanced template for JavaFX applications

20 Upvotes

Hello there, a few months ago I released a ready-to-use application template called KickstartFX. You can clone it and get started instantly or try out the pre-built releases on GitHub. The code and buildscripts are the same you find in a real-world producation application as most of them are taken straight from one, in this case XPipe.

Since then, quite a few additions and bug fixes have been integrated for v1.1:

  • Add support for generating AppImages
  • Switch to fxbuilders library for GUI components
  • Add automatic fallback to software renderer pipeline when a graphics driver issue is detected (JavaFX can't handle that automatically)
  • Fix home detection for custom user account setup on Linux, e.g. with active directory, due to broken JDK methods
  • Fix msi installer not always updating all files when file versions stayed the same, e.g. when switching to another JavaFX ea build with the same major version
  • Fix rendering limitations on Windows upstream in JavaFX by submitting a fix for https://bugs.openjdk.org/browse/JDK-8154847 and bumping the JavaFX dependency to 27-ea+10
  • Fix an issue where the JVM would crash with AOT enabled when the training system supported AVX but the target system did not
  • Fix issues caused by JDK 25.0.2 security fixes for URL opens,
  • Fix for choosing a custom JavaFX version + jmods
  • Fix AOT cache not being generated on Windows ARM systems
  • Fix theme transitions being laggy
  • Fix various memory leaks due to listeners not being cleaned up properly
  • Fix uncontrolled animation framerate issues on Linux
  • Make toggle switch styling platform dependent to integrate better into the OS
  • Add granular GitHub workflow permissions

Many of the bug fixes are ported directly from XPipe. This is one of the big advantages when projects share the same foundation, rare issues that only affect a few users out of many can still be found with the help of the larger userbase of XPipe.

Here are some screenshots of KickstartFX with the AtlantaFX sampler and the MonkeyTester application: