Back to Developer Roadmap

ScalaFX

src/data/roadmaps/scala/content/[email protected]

4.0608 B
Original Source

ScalaFX

ScalaFX is a UI DSL written within the Scala Language that sits on top of JavaFX. Every ScalaFX application is also a valid Scala application. It supports full interoperability with Java and can run anywhere the Java Virtual Machine (JVM) and JavaFX are supported. ScalaFX uses a simple, hierarchical pattern for creating new objects and building up the scene graph. Here is a simple, complete application example that creates a new stage (window) with a rectangle that changes color based on mouse events.

Visit the following resources to learn more: