Skip to main content
Last updated September 22, 2011 07:38, by Christian Schlichtherle
Feedicon  

JavaFX + Scala Demo Archetype Wiki

This project provides a Maven archetype to demonstrate programming JavaFX 2.0 in Scala with Maven. The coordinates of the archetype at Maven central are:

  GroupId: de.schlichtherle
  ArtifactId: javafx-scala-demo
  Version: 0.3

Important: Before you can use the generated archetype, you need to set the environment variable JAVAFX_HOME to the sub-directory "bin" of the installation directory for the JavaFX 2.0 SDK. For example:

  C:\Program Files\Oracle\JavaFX 2.0 SDK\bin

If you are using NetBeans, select File -> New Project -> Maven -> Project from Archetype -> Next > -> Add... and then enter the coordinates from above. Once the project is generated, all you need to do is run it. This will build the standalone JAR and start it - enjoy!

TODO


  • Build the JNLP and HTML for the application.
 
 
Close
loading
Please Confirm
Close