The third milestone of ScalaFX v.1.0 is now available on our Downloads page and in the Maven repository.
ScalaFX helps you simplify creation of JavaFX-based user interfaces in Scala. ScalaFX uses a simple, hierarchical pattern for creating new objects and building up the scene graph. ScalaFX supports full interoperability with Java and can run anywhere the Java Virtual Machine (JVM) and JavaFX2 are supported. Current version supports most of the JavaFX 2.2.7 functionality. For more information see ScalaFX home page.
Changes since Milestone 2
- Improvements to handling of collections within ScalaFX code� For instance, utility functions added to help filling collections and deal with `null` passed from the user.
- Improvements to scaladocs.
- Missing methods added to `Scene`: `fill`, ` addMnemonic`, ` removeMnemonic`, ` getMnemonics`, ` accelerators`, ` snapshot`, ` startDragAndDrop`, ` startFullDrag`.
- Additional `Font` factory methods.
- Fixed Issue 39: scalafx.scene.control.Pagination PageFactory is not working
- Fixed Issue 45: Missing wrappers for ReadOnly[Boolean,Double,Float,Integer,Long,String]Wrappers
- Fixed Issue 57: `Control` should extend `Parent` not `Node`.
- Work around for Scala 2.10 bug SI-7269 that was causing one of the test in ObservableMapSpec to fail. Please add your votes for the fix.
- Added some factory methods for `ReadOnlyObjectWrapper` as a workaround for Issue 14.
- Sbt-idea updated to v.1.3.0 for improved IDEA project generation.
A big thank you to all the contributors!
--23 � Rafael Afonso15 - Jarek Sacha�1 - Alain B�arez
You received this message because you are subscribed to the Google Groups "ScalaFX Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scalafx-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
�
�
Is there a Maven Archetype somewhere we can use with this?
Thanks for the reference, but reviewing 221 lines of POM just makes my eyes glaze over.
As much as I REALLY want to do stuff with ScalaFX, the onboarding cost is WAY too high. There STILL does not seem to be any simple way to just get going with ScalaFX in 5 minutes.ust give a try at
I simply do not have more than 1 hour to spend fussing with ScalaFX. I am trying to follow http://code.google.com/p/scalafx/wiki/GettingStarted
Currently I am stuck with
bad symbolic reference. A signature in Stage.class refers to term javafx in package <root> which is not available. It may be completely missing from the current classpath, or the version on the classpath might be incompatible with the version used when compiling Stage.class.
Hope this might help keep you trying in spite of the steady learning curve.
Regards,Alain
package hello
import scalafx.Includes._ import scalafx.application.JFXApp import scalafx.scene.Scene import scalafx.scene.paint.Color import scalafx.scene.shape.Rectangle import scalafx.stage.Stage
object World extends JFXApp {
stage = new JFXApp.PrimaryStage { title = "Hello World" width = 600 height = 450 scene = new Scene { fill = Color.
LIGHTGREEN root = new Rectangle { // line 28 x = 25
y = 40 width = 100 height = 100 fill <== when(hover) then Color.GREEN otherwise Color.RED } } } }