Open Source JavaFX Now!

JFXtras Samples Logo

Pro JavaFX Platform Samples

These samples were donated by the Pro JavaFX Platform author team.  Please visit the official book website for more information.

Chapter 01

HelloEarthRise

Web Content Image
Introductory JavaFX application that uses graphics, animation, and audio.

HelloClipView

Web Content Image
Alternate version of the HelloEarthRise sample that demonstrates the ClipView layout.

AudioConfig

Web Content Image
Introductory application demonstrating controls and binding.

Chapter 02

Chapter 2 Source

Web Content Image
Source code for the exercise and examples from Pro JavaFX Chapter 2.

Chapter 03

StageCoach

Web Content Image
Sample application demonstrating the usage of Stage and its related classes.

OnTheScene

Web Content Image
Sample application demonstrating the capabilities of the Scene class.

MobileEqualizer

Web Content Image
Mobile example demonstrating key and mouse input.

Metronome 1

Web Content Image
Demonstration of basic animation concepts.

Metronome 2

Web Content Image
Variation of Metronome1 that uses a different animation syntax.

MetronomeTransition

Web Content Image
Variation of the Metronome example that uses transitions.

MetronomePathTransition

Web Content Image
Final variation of the Metronome example using a PathTransition.

ZenPong

Web Content Image
Example of a Pong variant to demonstrate animation and collision detection.

AsyncProgress

Web Content Image
Asynchronous progress example running background tasks from JavaFX.

Chapter 04

Chapter 4 Source

Web Content Image
Source code for the exercise and examples from Pro JavaFX Chapter 4.

Chapter 05

ColorPickerNode

Web Content Image
Color picker that shows all 216 web-safe colors.

ColorPickerSnowFlakeNode

Web Content Image
Advanced color picker with a snow-flake arrangement.

StoplightSkinning

Web Content Image
Example showing how to create and skin a control.

ChartDemo

Web Content Image
Combined example of all the charts available in JavaFX 1.2.

PieChartIntro

Web Content Image
Example showing how to create a Pie Chart.

BarChartIntro

Web Content Image
Example showing how to create a Bar Chart.

LineAreaChartIntro

Web Content Image
Example showing how to create Line and Area Charts.

ScatterBubbleChartIntro

Web Content Image
Example showing how to create Scatter and Bubble Charts.

InteractiveBarChartIntro

Web Content Image
Example showing how to create an interactive Bar Chart.

DrawJFX

Web Content Image
Completed exercise to create a drawing application.

ControlsStylingDemo

Web Content Image
Bonus example of different available options for styling controls using CSS.

ShapesStylingDemo

Web Content Image
Bonus example of different available options for styling shapes using CSS.

Chapter 06

AudioPlayer1

Web Content Image
Simple MediaPlayer example that will play audio from a URL.

AudioPlayer2

Web Content Image
A simple media player with a play/pause button and a progress bar.

AudioPlayer3

Web Content Image
The media player with repeat, volume, and balance controls.

AudioPlayer4

Web Content Image
Audio player that includes support for showing the status of the stream’s buffer.

BasicMoviePlayer

Web Content Image
A minimalist but functional movie player.

FullScreenMoviePlayer

Web Content Image
A full screen movie player that preserves the movie’s original aspect ratio.

MoviePlayer

Web Content Image
A streaming video player with controls for navigation and audio.

Chapter 07

CenterTitleExample

Web Content Image
Demonstrates how to center nodes in the scene graph using bind.

StackTitleExample

Web Content Image
Demonstrates use of the Stack class to align nodes in the scene graph.

ReversiPieces

Web Content Image
Demonstrates the use of the Tile layout to align nodes.

PlayerScoreExample

Web Content Image
Demonstrates the use of Flow and HBox/VBox for directional alignment.

PanelLayoutExample

Web Content Image
Demonstrates the use of Panel to do a custom UI layout.

Reversi 1

Web Content Image
First version of the Reversi application that demonstrates how to layout with Containers.

Reversi 2

Web Content Image
Final Reversi application complete with a PerspectiveLayout and playable game mechanics.

Chapter 08

MediaExplorer Part 4

Web Content Image
Media Explorer example that uses Layouts, Borders, and Asynchronous Utilities from the JFXtras project.

DrawJFXtras

Web Content Image
Example that demonstrates the use of JFXtras Shapes classes.

Chapter 09

WhoIsMyRepJson

Web Content Image
An introduction to consuming a simple web service with the JSON pull parser.

WhoIsMyRepXml

Web Content Image
An introduction to consuming a simple web service with the XML pull parser.

BookStoreFX

Web Content Image
A simple graphical front end to the Amazon web service APIs.

Chapter 10

MobileHelloEarthRise

Web Content Image
Mobile port of the HelloEarthRise application from Chapter 1.

MobileColorPickerSnowFlakeNode

Web Content Image
Mobile adaptation of the ColorPickerSnowFlakeNode from Chapter 5.

MobileDrawJFX

Web Content Image
Mobile adaptation of the DrawJFX example from Chapter 5.