compose-multiplatform
tornadofx
Our great sponsors
compose-multiplatform | tornadofx | |
---|---|---|
96 | 9 | |
14,626 | 3,669 | |
1.8% | - | |
9.6 | 1.1 | |
4 days ago | about 1 year ago | |
Kotlin | Kotlin | |
Apache License 2.0 | 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.
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.
tornadofx
-
Why was TornadoFX abandoned?
And yet, the Kotlin specific bindings for it have seemingly been abandoned, and have not received any updates in years: https://github.com/edvin/tornadofx
-
What library/framework would you recommend for creating a GUI desktop application?
Hi, at some point in the past I used mvvmFX and it was pretty nice to work with, but sadly it looks abandoned. So does drombler-fx which I remember looking into around that time. There was also tornado-fx (don't mind doing GUI code in Kotlin) but that's unmaintained now too. All that I could find today is Griffon, although that's clearly slowing down as well.
-
What are good examples of well written code in Kotlin (e.g HTTP4K)
TornadoFx (JavaFX framework for Kotlin)
- Ask HN: Does Java need a modern Java UI toolkit for desktop/web?
- TornadoFX
- what is the best way of implementing a GUI nowadays?
-
Is TornadoFx should be used in production ?
P.S. Yes, last official release is Java 8. But we all were using the last snapshot of https://github.com/edvin/tornadofx/tree/jdk10 published to Sonatype in the last years. Or tornadofx2 linked above.
- Kotlin Desktop - Which GUI library
-
Design Patterns for multi-screen JavaFX applications
If you are willing to consider Kotlin targeting JVM instead of pure Java, I would definitely recommend you to take a look at tornadofx. I have experience with both frameworks (mvvmfx and tornadofx), and I prefer the latter.
What are some alternatives?
javafx-examples - A large collection of JavaFX examples demonstrating basic + advanced features of JavaFX.
tornadofx2 - TornadoFX 2.0
skiko - Kotlin MPP bindings to Skia
kotlin-native-gtk - GTK+ bindings for Kotlin Native
javafx-gradle-plugin - Gradle plugin that makes it easy to work with JavaFX 11+
FlatLaf - FlatLaf - Swing Look and Feel (with Darcula/IntelliJ themes support)
Jetpack-Compose-Playground - Community-driven collection of Jetpack Compose example code and tutorials :rocket: https://foso.github.io/compose
mvvmFX - an Application Framework for implementing the MVVM Pattern with JavaFX
javafx-app-1 - JavaFX Application Demos in Kotlin
kotlinx.coroutines - Library support for Kotlin coroutines
AwesomeJavaFX - A curated list of awesome JavaFX libraries, books, frameworks, etc...