jfx VS substrate

Compare jfx vs substrate and see what are their differences.

substrate

Create native Java(FX) apps for desktop, mobile and embedded (by gluonhq)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
jfx substrate
31 6
2,506 367
1.8% 1.4%
8.9 5.9
8 days ago 25 days ago
C++ Java
GNU General Public License v3.0 only GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

jfx

Posts with mentions or reviews of jfx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-15.
  • Release Notes for JavaFX 22
    1 project | news.ycombinator.com | 17 Mar 2024
  • New JavaFX Community
    2 projects | /r/JavaFX | 15 Jul 2023
    **Useful resources** _([Full list](/r/JavaFX/wiki/resources))_ * [OpenJFX.io](https://openjfx.io/) * [JavaFX source](https://github.com/openjdk/jfx/) * [JavaFX bugtracker](https://bugs.openjdk.java.net/browse/JDK-8146386?jql=project%20%3D%20JDK%20AND%20component%20%3D%20javafx) * [JFX-Central](https://www.jfx-central.com/) [**Rules**](/r/JavaFX/about/rules/) 1. No NSFW/NSFL content 2. No service requests/offers 3. Must be JavaFX related 3. No politics **Related subreddits** - [/r/java](/r/java) - [/r/javahelp](/r/javahelp) **Other communities** - [JavaFX on Discord](https://discord.gg/yZ3Y3Fd) - [JavaFX on programming.dev](https://programming.dev/c/javafx)
  • How to add transition for CSS?
    1 project | /r/JavaFX | 3 Jun 2023
  • JavaFX links of the week for March 18th-24th 2023
    1 project | /r/JavaFX | 24 Mar 2023
    Important message in the release notes: "JavaFX 20 is compiled with --release 17 and thus requires JDK 17 or later in order to run. If you attempt to run with an older JDK, the Java launcher will exit with an error message indicating that the javafx.base module cannot be read."
  • Release Notes for JavaFX 20
    1 project | news.ycombinator.com | 23 Mar 2023
  • JavaFX 20 General-Availability Release
    1 project | news.ycombinator.com | 21 Mar 2023
  • Is this UI doable with only Java Swing?
    1 project | /r/PinoyProgrammer | 22 Dec 2022
    GitHub
  • Compile javafx jar
    1 project | /r/JavaFX | 12 Oct 2022
    JavaFX 17 requires at JDK 11 or later (release notes), so the short answer is that you can't do this.
  • WebFX - A JavaFX to JavaScript application transpiler. Write your WebApp in JavaFX and WebFX will transpile it in pure JS.
    3 projects | /r/coolgithubprojects | 8 Oct 2022
    JavaFX has been open-sourced after Oracle dropped it, and it's still in active development (they just released version 19 a month ago, see https://openjfx.io and https://github.com/openjdk/jfx). Also Gluon (https://gluonhq.com) made the toolchain to compile it into native apps for Linux, macOS, Windows, Android & iOS. So with now WebFX compiling it to the web, you get a fully cross-platform UI toolkit that lets you target all major platforms (Desktops, Web, Tablets & Mobiles) from a single Java code base. That's why I think it is interesting, especially for Java developers.
  • JavaFX links of the week as posted on jfx-central.com
    4 projects | /r/JavaFX | 13 Sep 2022
    On the JavaFX mailinglist this thrilling message appeared: "Create release notes for JavaFX 19." And yes, they are available now on GitHub! If you want to keep following what’s happening inside the JavaFX community, you can suscribe to it via mail.openjdk.org/mailman/listinfo/openjfx-dev. As with previous releases, the JavaFX community once again succeeded in keeping the 6-months release cycle going on, with a long list of improvements and fixes!

substrate

Posts with mentions or reviews of substrate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-20.
  • Building a Slack/Discord Alternative with Tauri/Rust
    8 projects | news.ycombinator.com | 20 Jun 2023
    Haha, it's amusing that the history essays are one of the things you remember :)

    Yes you can compile Scala and ScalaFX apps down to native binaries this way. Look at Gluon Substrate:

    https://github.com/gluonhq/substrate

    One of our customers is experimenting with shipping such apps with Conveyor. There's a discussion ongoing here:

    https://github.com/hydraulic-software/conveyor/discussions/6...

    We got a console hello world working, albeit the DX is a bit rough. You need some ugly config boilerplate and some additional Native Image json files. But, it works, at least enough to create a Mac package with the regular Conveyor feature set. There are some limits though. I think the WebView doesn't work when the app is natively compiled this way.

    If it all starts working well it could be quite interesting for desktop app development, as suddenly you could use high level languages and portable UI toolkits but with the sort of startup time, performance and memory usage you'd expect from native apps (modulo binary size which is still quite large). If you want to use HTML as the UI then you can use the Chromium Embedding Framework, which would give you an Electron-like experience but with many more available languages:

    https://hydraulic.dev/blog/13-deploying-apps-with-jcef.html

    I've been using JVM GUI for years for various tasks. It was appropriate for Bitcoin tasks because it's immune to injection attacks, because you can run everything locally with P2P protocols like the original Bitcoin app did, it's portable etc. Also I learned GUI programming decades ago and find classical UI toolkit concepts like VBox, HBox, StackPane, TableView etc more intuitive than HTML.

  • GraalVM Native Image — Faster, Smarter, Leaner
    6 projects | /r/java | 25 Apr 2023
    I ran into quite a few issues during Android/iOS development (e.g. java.util.prefs and GraalVM pulling in unused methods), but Windows was comparatively smooth. Most of my issues were related to understanding the toolchain,e.g., not knowing how arguments are passed to run.
  • Question on JavaFX web applications
    6 projects | /r/JavaFX | 1 Feb 2023
    With JavaFX and Gluon Substrate + GraalVM you can even compile you app to an executable.
  • What is your experience with GraalVM Native?
    5 projects | /r/java | 14 Jun 2022
    missing methods in Android library
  • How does Gluon's GraalVM based substrate work?
    3 projects | /r/java | 4 Sep 2021
    Hello, I've recently stumbled across this project from Gluon and I've been wondering for some days how the project actually works. I've read the source code, but it appears that no code is responsible for implementing the hundreds of classes that make up JavaFX. Does this mean that JavaFX can work out of the box on IOS and Android but there didn't use to be a way to compile the code to a native executable for said platforms? Thanks in advance
  • Experiences with ZGC on JavaFX?
    1 project | /r/JavaFX | 21 Mar 2021
    Don't tested memory difference myself yet but maybe your solution could be to convert to native with graalvm and gluon substrate? https://github.com/gluonhq/substrate

What are some alternatives?

When comparing jfx and substrate you can also consider the following projects:

controlsfx - High quality UI controls to complement the core JavaFX distribution

JFoenix - JavaFX Material Design Library

TilesFX - A JavaFX library containing tiles that can be used for dashboards.

Recaf - The modern Java bytecode editor

webfx - A JavaFX application transpiler. Write your Web Application in JavaFX and WebFX will transpile it in pure JS.

avaje-inject - Dependency injection via APT (source code generation) ala "Server-Side Dagger DI"

jreleaser - :rocket: Release projects quickly and easily with JReleaser

usb-serial-for-android - Android USB host serial driver library for CDC, FTDI, Arduino and other devices.

cljfx - Declarative, functional and extensible wrapper of JavaFX inspired by better parts of react and re-frame

scalaonandroid - A tutorial and examples of how to write Android apps in Scala 2.13 and Scala 3.

FXGL - Java / JavaFX / Kotlin Game Library (Engine)

certificate-ripper - 🔐 A CLI tool to extract server certificates