Monday, January 7, 2013

A sine wave with JavaFX and Scala

My goal is to create a JavaFX application which displays a sine wave like shown in the video below:


Ok.

Here is the source:



Cut'n paste this to your scala-javafx-maven archetype and off you go. 

2 comments:

  1. Why are you using Scala with JavaFX, instead of ScalaFX? What are the main advantages of not using the ScalaFX wrappers in your code?

    ReplyDelete
    Replies
    1. No special reason. I didn't try out ScalaFX so far, but I know it exists.

      Delete