r/JavaFX • u/Sanguevenegro • Jun 10 '23
Flappy Bird
Estou a tentar recriar o Flappy Bird, usando somente Java😅
r/JavaFX • u/Sanguevenegro • Jun 10 '23
Estou a tentar recriar o Flappy Bird, usando somente Java😅
r/JavaFX • u/iamgioh • Jul 23 '22
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 transitionAlong 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 • u/nscub3 • Apr 27 '22
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 • u/mimoguz • Mar 09 '22
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 • u/hamsterrage1 • Jan 10 '22
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 • u/sblantipodi_ • 28d ago
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 • u/DirectionFrequent455 • Oct 07 '25
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 • u/heshanthenura • Dec 15 '24
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 • u/rootException • Oct 11 '22
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. 😁
r/JavaFX • u/[deleted] • Oct 07 '22
See https://www.jfx-central.com/
JavaFX 19 just got released a few weeks ago, but Johan Vos is already looking forward to the next one: a really-worth-mentioning improvement that will be in JavaFX 20 is the update to MarlinFX 0.9.4.6 by Laurent Bourgès. Thank you very much Laurent for your contributions. They are an important part to the success of JavaFX. See JDK-8287604.
Laurent is even sharing his TODO list on GitHub in case you are curious about what he is working on...
Dirk Lemmermann announced in a tweet version 11.12.1 of CalendarFX with new views for displaying resource allocations, improved editing behaviour, plenty of fixes and enhancements. You can find it on GitHub, and new link for the documentation is here.
Robert Ladstätter wanted to use JavaFX on a Windows aarch64 (virtual) machine, and described the process to build it from the sources.
Almas Baim shared a video in a tweet showing a bridge generated with FXGL (game engine) to illustrate a distance joint (which constrains two entities to preserve their distance to each other) that produces some interesting results. Entities with different densities are thrown at it and fly through the screen using physics.
Chad Preisler shared a video showing how to create a form using SceneBuilder and JavaFX, getting the form to resize the correct way.
OrangoMango shared a project to visualize and solve a Rubik's Cube with JavaFX, that is also available as an Android APK. It's inspired by a similar example created by Gluon.
Devoxx Belgium is next week (10-14 October) and the organization is thanking Gluon in a tweet for their continued support for the #OSS Devoxx mobile app. Sources of the DevoxxBadges JavaFX app are available on GitHub.
New content on jfx-central.com:
Real World App: JabRef is an open-source, cross-platform citation and reference management tool, see jabref.org.
Tool: "Conveyor" by Hydraulic, is an alternative/replacement for the jpackage tool but with support for (background) updates, signing, notarisation.
Another library by Pedro Duque Vieira: FXParallax. This framework adds controls to add Parallax effects to JavaFX application, this effect can add a sense of depth (3D like) to where it’s used.
Coming soon... Florian Kirmaier is pimping the jfx-central website to make it much faster very soon. Due to the architecture of jpro.one, scrolling in a ScrollPane requires server calls (as the JavaFX app lives on the server). A custom skin, should bring a solution...

r/JavaFX • u/OddEstimate1627 • Mar 02 '22
r/JavaFX • u/Hakky54 • Dec 10 '21
r/JavaFX • u/ivanvelikanov • May 11 '21
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 :

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 • u/realmanisarmani • Jul 31 '20
r/JavaFX • u/[deleted] • Jul 10 '20
r/JavaFX • u/[deleted] • Feb 10 '20
r/JavaFX • u/warmuuh • Jul 26 '19
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 • u/Uaint1stUlast • Jul 03 '26
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?