Build a simple calculator with TornadoFX

TornadoFX is a ui framework for Kotlin on top of JavaFX. It leverages the functional capabilities of Kotlin to create an easy to use ui framework with JavaFX as stable backbone. In this tutorial we will create a simple calculator that will allow us to add, subtract and multiply integers. Setting up For this tutorial we will use gradle with kotlin dsl to build the test application. mkdir kotlin_tornado cd kotlin_tornado gradle init --dsl kotlin The gradle build file is quiet extensive but I think the comments are explaining enough.
Read more...