Open Source JavaFX Now!

Welcome to the Pro JavaFX Samples page.

Chapter 01

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.

HelloEarthRise

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

Chapter 02

Chapter 2 Source

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

Chapter 03

AsyncProgress

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

ZenPong

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

MetronomePathTransition

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

MetronomeTransition

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

Metronome 2

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

Metronome 1

Web Content Image
Demonstration of basic animation concepts.

MobileEqualizer

Web Content Image
Mobile example demonstrating key and mouse input.

OnTheScene

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

StageCoach

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

Chapter 04

Chapter 4 Source

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

Chapter 05

ShapesStylingDemo

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

ControlsStylingDemo

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

DrawJFX

Web Content Image
Completed exercise to create a drawing application.

StoplightSkinning

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

ColorPickerSnowFlakeNode

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

ColorPickerNode

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

InteractiveBarChartIntro

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

ScatterBubbleChartIntro

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

LineAreaChartIntro

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

BarChartIntro

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

PieChartIntro

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

ChartDemo

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

Chapter 06

MoviePlayer

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

FullScreenMoviePlayer

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

BasicMoviePlayer

Web Content Image
A minimalist but functional movie player.

AudioPlayer4

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

AudioPlayer3

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

AudioPlayer2

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

AudioPlayer1

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

Chapter 07

Reversi 2

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

Reversi 1

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

PanelLayoutExample

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

PlayerScoreExample

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

ReversiPieces

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

StackTitleExample

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

CenterTitleExample

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

Chapter 08

DrawJFXtras

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

MediaExplorer Part 4

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

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

MobileDrawJFX

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

MobileColorPickerSnowFlakeNode

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

MobileHelloEarthRise

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