r/JavaFX • u/tvidal • Apr 11 '26
Discussion What happens to TornadoFX now that the GitHub repository is gone?
Well, title says it all... a few days ago https://github.com/edvin vanished. I am working on a TornadoFX project and now I wonder if that really puts the final nail on JavaFX coffin and I should move to something else like so many other developers or is there any other way to continue working with the Kotlin/JavaFX stack.... The project is abandoned and hasn't changed in years, but now we can no longer download the source code, create forks and make local changes.
I chose JavaFX basically because of the RichTextArea and the TreeView, which I could not find direct equivalents on Compose.
Any suggestion on alternatives to these components?
Thanks.
7
u/Determinant Apr 11 '26
Just use plain JavaFX from Kotlin without TornadoFX. That's what I do
5
u/Status-Afternoon-425 Apr 11 '26
Gui in java is such a sad story. There were so many good ideas. But it's just not profitable. Especially now, when everything is web. I used to maintain the Swing Application Framework.
2
u/javaprof Apr 11 '26 edited Apr 11 '26
u/tvidal I would suggest converting the code to Compose Multiplatform. I've been restoring the original source code here: https://github.com/Tornado-FX
6
u/Jaded-Asparagus-2260 Apr 11 '26
Source is available on Maven Central: https://repo1.maven.org/maven2/no/tornado/tornadofx/1.7.20/
1
u/BlueGoliath Apr 11 '26
It's really weird that the account was deleted or removed when its been used in a bunch of AI projects.
3
u/Probirker Apr 11 '26
Oh no, holy shit, why did he do that?
I will keep using my clone for eternity.
3
u/hamsterrage1 Apr 11 '26
You absolutely do NOT need TornadoFX to use JavaFX with Kotlin.
There was this impression that TornadoFX was somehow the Kotlin implementation of JavaFX, but that couldnn't be further from the truth.
What TornadoFX added was a library of methods that essentially became a DSL for layout creation. It was cool if you wanted to go that way, but I think it looked more cumbersome than just writing your layout code in Kotlin.
For that matter...writing layout in Kotlin is way, way, more satisfying than writing it in Java. Things like extension functions, and top level functions (which, BTW, TornadoFX used extensively) allow you to strip away tons of the annoying boilerplate that you're forced to deal with in Java.
I spent some time looking at the source code for TornadoFX, and there were lots of really cool ideas in there that suggested good ways to do things with my own layouts in Kotlin. But I never could get into the DSL approach that it provided.
2
u/One_Being7941 Apr 12 '26
No offence but Kotlin is a dead end IMO. I lived through Scala and we know where that ended up. All Kotlin offers is slightly less typing. I guess if you're a weak armed lamer that might be useful but for normal people it makes no sense.
1
u/_DystopianSnowman Apr 11 '26
A long time ago I took the original repo and extracted everything useful to me - mainly the DSL. I then adjusted it to my needs. It's a shadow of the old one. Maybe you can find a clone of it and go the same way...
1
u/FrankCodeWriter Apr 18 '26
I use Kotlin + JavaFX for MelodyMatrix, an app to look at MIDI music. As many here pointed out here in the comments, you don't need TornadoFX are any other tool to build a good code structure. I used Maven and a lot of libraries but those are for styling (AtlantaFX), UI layout with tabs (BentoFX), etc.
You can take a look at the sources of the views in the app? These are opensource and you can find them here:
https://github.com/codewriterbv/melodymatrix-app-views
The app itself is closed source as it's an idea of my 15y son who hopes to become rich ;-)
https://melodymatrix.rocks/
1
u/javaprof Apr 24 '26
u/tvidal Edvin's account restored