Writing JavaFX applications with Kotlin

Hi there! Today I’ll like to show you how Kotlin can be used to write a JavaFX application. This particular example encompasses both runtime and buildtime aspects as I’ll also show how Gradle Kotlin Script can be used to build the project. Let’s get started! UPDATE: the code assumes you’re using Oracle JDK8 which includes JavaFX (jfxrt.jar) by default. Make sure you have a compatible JavaFX binary if you’re using a different JDK release, such as OpenJDK. You can install OpenJFX on Ubuntu by invoking sudo apt-get install openjfx for example. I’ve selected Griffon as my framework of choice for Read More

ˆ Back To Top