An open API service indexing awesome lists of open source software.

https://github.com/beenotung/ga-art

GA Art (Image generator)
https://github.com/beenotung/ga-art

Last synced: 8 months ago
JSON representation

GA Art (Image generator)

Awesome Lists containing this project

README

          

scalafx-hello-world
===================

Simple example of a ScalaFX application using [Simple-Build-Tool](http://www.scala-sbt.org/) (SBT).

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 8 JDK](http://www.oracle.com/technetwork/java/javase/downloads/index.html) update 60 or newer.

2. Install [SBT](http://www.scala-sbt.org/)

3. Run the example: change to 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.

Import into IDEA or NetBeans
----------------------------

IntelliJ IDEA and NetBeans with Scala plugins can directly import SBT projects.

Create project for Eclipse
-------------------------

If you want to create project that can be used with Eclipse, inside
this project directory, at command prompt type:

%> sbt eclipse

Additional Information
----------------------

Detailed description of similar example can be found in the blog post
["Getting Started with ScalaFX: Compile and Run"](http://codingonthestaircase.wordpress.com/2013/05/17/getting-started-with-scalafx-compile-and-run-2/).