Examples of using ScalaFX. Each example is a stand-alone complete project
-
hello-sbt: a basic example of using Simple-Build-Tool (SBT) and ScalaFX. Detailed description can be found in the blog post "Getting Started with ScalaFX: Compile and Run".
-
event-filters: demonstrates use of ScalaFX Event Filter API. The code is based on JavaFX example Handling JavaFX Events, Part 3 Working with Event Filters.
-
molecule-3d: ScalaFX 8 example of using 3D graphics. Based on tutorial Getting Started with JavaFX 3D Graphics by Cindy Castillo and John Yoon.
-
scalafxml-example: demonstrates use of FXML with ScalaFX using ScalaFXML library.
-
stand-alone-dialog: shows how to display a ScalaFX dialog (stage) without using JFXApp. You can use this approach, for instance, to show a JavaFX dialog from a command line or from a Swing application.