Update: The FX Playground project can be found at: https://bitbucket.org/cdea/fxplayground
After finishing the book JavaFX 8 Introduction by Example I noticed each example was created as separate NetBeans projects which seemed a little overkill for small examples. Because the book is based on Java the language each program needed to be compiled (via javac) prior to execution. Larger projects will typically need to be set-up with a proper classpath and resources in the appropriate directory locations. Even larger projects will also need dependencies which typically reside on Maven repositories.
Based on timing I was able to submit a talk regarding JavaFX based playgrounds just in time. After awhile I was pleasantly surprised that my proposal (talk) was accepted. You can check out the session here. Also, I will be presenting with my good friend Gerrit Grunwald (@hansolo_). So, be prepared to see awe-inspiring demos. Since the talk is a BoF (birds of a feather) the atmosphere will be low-key and very casual. I hope to see you there!
FX Playground in Action
Because FX Playground is still in development I will give you a glimpse of some demos that I’ve created on Youtube. The following are examples with links to videos.
- FXPlayground Path Example – This example is an updated example hosted at the BitBucket repo at https://bitbucket.org/cdea/fxplayground.
- FXPlayground w/Webcam – Nashorn w/sarxos/webcam-capture library
- FXPlayground3d – Nashorn and JavaFX 3D
- FX Playground now has a settings slide out panel – Nashorn, Rectangle w/CSS, and MediaView
- FX Playground Using Enzo library – Nashorn and Enzo Library
- FX Playground Testing Video w/ MediaView and WebView – Nashorn, MediaView and WebView
There are plans to opensource the code, but for now there is much needed functionality before public consumption.
The following features are a work in progress:
- Make use of FXML editor window.
- Pop out the display panel into its own window
- Save, SaveAs, and Load Playgrounds
- Build software to be an executable for tool users. (90% done)
- Make the tool capable of using other languages (JSR 223)
I want to thank Oracle corp. especially the following engineers who helped me (some of the engineers below are not Oracle employees):
- David Grieve – @dsgrieve
- Jim Laskey – @wickund
- Sundararajan Athijegannathan – @sundararajan_a
- Danno Ferrin – @shemnon
- Sean Phillips – @SeanMiPhillips
- Mark Heckler – @MkHeck
- Jose Perada – @JPeredaDnr
- Gerrit Grunwald – @hansolo_
- Jim Weaver – @JavaFXpert
The FX Playground project can be found at: https://bitbucket.org/cdea/fxplayground
CarlFX’s Channel – https://www.youtube.com/channel/UCNBYRHaYk9mlTmn9oAPp1VA
7 of the Best Code Playgrounds – http://www.sitepoint.com/7-code-playgrounds
NetBeans – https://www.netbeans.org
Harmonic Code – http://harmoniccode.blogspot.com/