ScalaFX

Most of my own applications use scalafx because of a very useful DSL and some nice wrapper functions around javafx with extended functionality and / or the more scala friendly syntax.

Documentation

Documentation can be found at www.scalafx.org/docs/home/

Documentation is a little bit out of date, but there are also some other places to find useful information.

Usage

Include following snippet in your build.sbt file:

libraryDependencies += "org.scalafx" %% "scalafx" % "15.0.1-R21"

In your classes add scalafx Includes to your imports:

import scalafx.Includes._

Sapphire with ScalaFX

IssueTrackingLite

Sapphire IssueTrackingLite Demo in the sapphire-javafx demo section use ScalaFX.

Reasons to use ScalaFX

I use ScalaFX in nearly all of my projects.

  • UI DSL for declarative scene graph objects creation
  • Automatic conversion to Scala
  • Scala like Collection support