Skip to content

mathieuleclaire/scalafx-ensemble

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScalaFX Ensemble

ScalaFX Ensemble provides a gallery of over 60 sample applications illustrating how ScalaFX can be used for creation of user interfaces controls, charts, graphics, media and web views.

ScalaFX Ensemble Application - Demo navigation

ScalaFX Ensemble Application - Demo tab ScalaFX Ensemble Application - Demo source

Each example can be executed within the ScalaFX Ensemble application, its source code can be easily seen there too. Example can be saved, from within ScalaFX Ensemble application, as an stand-alone SBT project, with option to convert to Eclipse or IntelliJ IDEA project.

ScalaFX Ensemble can be used by ScalaFX beginners as a set of examples and by more experienced users as a visual reference. Larger size screenshots and information about changes can be found on the ScalaFX Ensemble Home Page.

This project is inspired by JavaFX Ensemble.

Larger size screenshots and information about changes can be found on the ScalaFX Ensemble Home Page

How to run ScalaFX Ensemble

ScalaFX Ensemble can be easily run from the source code, instructions are provided below. In the future, we will also provide an excitable version.

Requirements

To compile and run the project you only need to have:

  • Java 1.7 JDK (u40 or newer version of 1.7).
  • SBT (v.0.13 or newer) installed.
  • ScalaFX Ensemble source code

All missing dependencies, including proper version of Scala and ScalaFX, will be downloaded by SBT.

Compile and Run using SBT

Once you have JDK 1.7 and SBT installed, make sure that you have an environment variable JAVA_HOME pointing to installation of your JDK.

At this point, to run ScalaFX Ensemble:

  1. Open command prompt
  2. Change directory to where you saved the ScalaFX Ensemble source code (directory containing this README file).
  3. Type sbt run

When run the very first time, SBT will download all needed dependencies including Scala and ScalaFX.

Creating Project Setups for Eclipse or IntelliJ IDEA

Project configurations for Eclipse or IntelliJ IDEA can be quickly generated using SBT.

Generate IntelliJ IDEA project configuration

  1. Open command prompt
  2. Change directory to where you saved the ScalaFX Ensemble source code (directory containing this README file).
  3. Type sbt gen-idea
  4. Open generated using IntelliJ IDEA (you will also need to install Scala plugin)

Generate Eclipse project configuration

  1. Open command prompt
  2. Change directory to where you saved the ScalaFX Ensemble source code (directory containing this README file).
  3. Type sbt eclipse
  4. Import generated project into your Eclipse workspace (you will also need to install Scala-IDE plugin)

Project Status

This project is in a "stable" pre-release state, the main missing future planned for the first release is support for building native executables.

This project is currently maintained by JUGChennai, once it get shape, will be moved to ScalaFX repo.

Mailing list

To post questions or send feedback about ScalaFX Ensemble or ScalaFX in general, please use ScalaFX discussion groups:

scalafx-user - for users of ScalaFX

scalafx-dev - for ScalaFX contributors/committers

License

Copyright (c) 2012-2013, ScalaFX Project All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the ScalaFX Project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE SCALAFX PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Releases

No releases published

Packages

No packages published