jfx
compose-multiplatform
jfx | compose-multiplatform | |
---|---|---|
32 | 96 | |
2,525 | 14,706 | |
1.1% | 1.2% | |
9.0 | 9.6 | |
6 days ago | 3 days ago | |
C++ | Kotlin | |
GNU General Public License v3.0 only | Apache License 2.0 |
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
-
Uno: Create Beautiful Cross Platform .NET Apps Faster
What are you talking about?
https://github.com/openjdk/jfx
- Release Notes for JavaFX 22
-
New JavaFX Community
**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?
-
JavaFX links of the week for March 18th-24th 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
- JavaFX 20 General-Availability Release
-
Is this UI doable with only Java Swing?
GitHub
-
Compile javafx jar
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.
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.
compose-multiplatform
-
Understanding file associations in JVM apps
So, to add file associations, we need to be able to pass both the .properties file and the --file-associations option. At the time of writing this article, the org.jetbrains.compose plugin doesn't provide such a mechanism. There is an open issue on GitHub that describes a possible workaround, which, unfortunately seems to not work on macOS.
-
Compose cannot be used for large amount of text
JetBrains has a simplified example of a general-purpose Compose text viewer here: https://github.com/JetBrains/compose-multiplatform/blob/master/examples/codeviewer/shared/src/commonMain/kotlin/org/jetbrains/codeviewer/ui/editor/Editor.kt
-
[Compose Multiplatform] Disable a button according to a list of flow values
![image](https://github.com/JetBrains/compose-multiplatform/assets/1382241/6747a3f6-53b9-43da-8d97-ab1e1e31170f)
- Compose Multiplatform 1.5.0-beta01
-
Timeline with Scrollbar in LazyColumn Compose
Compose for desktop has a scrollbar component available. You probably can't use that directly on Android, but you could probably steal most of its code.
- How good is Compose Multiplatform in production especially in creating Desktop apps?
-
Kotlin for a desktop App
My company uses https://github.com/JetBrains/compose-multiplatform to make a desktop app in Kotlin. It's amazing and fantastic. It's basically as mature as using Kotlin in an Android app.
-
Kamel v0.5.0 released with Kotlin Native and JS support
Kamel is an asynchronous media loading library for Compose Multiplatform.
-
Ksoup - Kotlin Multiplatform HTML Parser ⚡
Kotlin Compose Multiplatform is the way to do Desktop apps. https://github.com/JetBrains/compose-multiplatform
-
JetBrains Compose is now Compose Multiplatform
As for missing controls, a common one is a grid. They have built in grids, but again they are built for Android and don't make any sense in a desktop app. There is no simple way to create an Excel-like Data Grid like you might see in Windows Forms, although it can be done. https://github.com/JetBrains/compose-multiplatform/issues/344.
What are some alternatives?
controlsfx - High quality UI controls to complement the core JavaFX distribution
javafx-examples - A large collection of JavaFX examples demonstrating basic + advanced features of JavaFX.
TilesFX - A JavaFX library containing tiles that can be used for dashboards.
tornadofx - Lightweight JavaFX Framework for Kotlin
webfx - A JavaFX application transpiler. Write your Web Application in JavaFX and WebFX will transpile it in pure JS.
skiko - Kotlin MPP bindings to Skia
jreleaser - :rocket: Release projects quickly and easily with JReleaser
javafx-gradle-plugin - Gradle plugin that makes it easy to work with JavaFX 11+
cljfx - Declarative, functional and extensible wrapper of JavaFX inspired by better parts of react and re-frame
Jetpack-Compose-Playground - Community-driven collection of Jetpack Compose example code and tutorials :rocket: https://foso.github.io/compose
FXGL - Java / JavaFX / Kotlin Game Library (Engine)
tornadofx2 - TornadoFX 2.0