Giter Club home page Giter Club logo

scalafx-ensemble's Introduction

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 (u45 or newer version of 1.7).
  • SBT (v.0.13.1 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.

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-2014, 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.