Simple example of a ScalaFX application using Gradle Build Tool.
Example Scala code is in app/src/main/scala/hello/ScalaFXHelloWorld.scala
-
Install Java 17 JDK or newer.
-
Run the example. From command prompt change to the directory containing this example and run the example. On Windows:
.\gradlew run
On Linux or Mac:
./gradlew run
SBT version of this example can be found in scalafx-hello-world