
Kotlin For JavaFX
18 mins
Interested in programming JavaFX in Kotlin? Here’s what you need to know to write JavaFX code that is so much better than anything you can write in Java.

Kotlin is a multi-purpose programming language that runs in the JVM. In many ways, it’s what Java would have been had it been designed 20 years later.
Kotlin code is much more concise than the equivalent Java. It has native features that address many of the gripes that programmers have about Java, including the following:
Properties that include default (but configurable) getters and setters.Kotlin is 100% compatible with Java, so you can freely use any libraries that are written in or for Java. With a few caveats, you can also call all of you Kotlin code from Java. You can even mix Kotlin in with Java in the same project!
Of course, Kotlin works really well with JavaFX. In fact, JavaFX is way better with Kotlin than it is with Java.
I’ve written a few articles about Kotlin, you can find them here:



