Skip to content

s-bernard/scalafx-hello-world

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scalafx-hello-world

Simple example of a ScalaFX application using Simple-Build-Tool (SBT).

Branches

Branch master contain example with Scala 2 syntax, branch Scala3 with Scala 3 syntax.

Content

  • src/main/scala/hello/ScalaFXHelloWorld.scala - sample ScalaFX application.
  • build.sbt - the main SBT configuration file.
  • project/build.properties - version of SBT to use.
  • project/plugins.sbt - plugins used for creation of IDEA and Eclipse projects.

How to build and Run

  1. Install Java 11 JDK or newer. This project should also work with Java 10. If you are want to use Java 8 look at the SFX-8 branch of this project.

  2. Install SBT

  3. Run the example: change to the directory containing this example and use SBT to build and run the example:

     %> sbt run
    

    It will download needed dependencies, including Scala and ScalaFX, and run the example code.

Additional Information

Detailed description of similar example can be found in the blog post "Getting Started with ScalaFX: Compile and Run" .

About

Simple example of a ScalaFX application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%