My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
DeveloperGettingStarted  
How to get your environment setup for developing on ScalaFX
Updated Nov 18, 2011 by maricaux...@gmail.com

Introduction

Getting started on the ScalaFX project is fairly straightforward, and just requires a little setup of your local environment.

Please remember that this guide is updated on-demand, so if you notice any discrepancies, please let us know on the mailing list.

Details

Install intelliJ IDEA

install scala plugin

new project

select scala project library for scala 2.9.1

open file…

select scalafx

-->if it asks path to hg: "sudo port install mercurial"

--->path to hg: /opt/local/bin/hg (if it exists)

There will be a red error balloon asking for the javafx folder, click "Fix it" and select the folder where JavaFX is located

You can run all tests by selecting "All tests" and click the green play button

Comment by felipe....@gmail.com, Oct 17, 2011

Where is the getting started ?

Comment by nicolash...@gmail.com, Oct 22, 2011

I agree, I'm on Eclipse and could get it to compile with some tweaks (seems to be NetBeans? geared), got a scalafx.jar. But I cannot get a ScalaFX program to run, it simply refuses to make the .class file for it. Don't really have much time to keep on digging for it so a nice and short tutorial would be nice! (possibly accompanied by a .jar file)

Comment by mikeg...@gmail.com, Dec 8, 2011

Is there anything for netbeans?

Comment by project member prassee....@gmail.com, Jan 17, 2012

We can run examples on Eclipse it says: Exception in thread "main" java.lang.RuntimeException?: java.lang.UnsatisfiedLinkError?: Can't load library: /Users/prassee/freelanceworkspace/scalaFxContrib/scalafx/lib_managed/jars/javafx/javafx/../bin/libmat.dylib

at com.sun.javafx.tk.quantum.QuantumToolkit?.startup(QuantumToolkit?.java:269) at com.sun.javafx.application.PlatformImpl?.startup(PlatformImpl?.java:68)


Sign in to add a comment
Powered by Google Project Hosting