Introduction to JavaFX

This course introduces experienced Java developers to the JavaFX framework.  In this course, you will learn what JavaFX is and … Continue reading "Introduction to JavaFX"

Overview

This course introduces experienced Java developers to the JavaFX framework.  In this course, you will learn what JavaFX is and its history.  You will learn how to develop rich user interfaces for desktop applications.  You will also learn about JavaFX properties, collections and styles and all about the various JavaFX controls including TreeView, TableVIew and TreeTableView.

Using a sample project, you will have plenty of hands-on throughout the course as we build a robust application.

Audience

The successful student will be proficient with Java

Length

4 days

Outline

Outline

Note – the outline is not covered sequentially in order to facilitate a learning path

Section 1 – Introduction

  • Overview and history of JavaFX
  • Setting up a JavaFx project using Eclipse IDE
  • First JavaFx Program

Section 2 – Properties

  • Properties
  • Binding
  • JavaFX Beans
  • Property events

Section 3 – Collections

  • Observable Collections
  • Sets
  • Lists
  • Maps

Section 4 – Stages

  • Setting the stage
  • Primary stage
  • Styles
  • Working with stages

Section 5 – Making a Scene

  • Introduction
  • Graphic modes
  • Cursors
  • Platform

Section 6 – Nodes

  • Coordinate Systems
  • Bounds
  • User data
  • Transforming bounds

Section 7 – Colors

  • The Color class
  • ImagePattern
  • LinearGradient
  • RadialGradient

Section 8 – Stylesheets

  • CSS Basics
  • Styles
  • Skins
  • Themes
  • Colors, borders, and types
  • Selectors

Section 9 – Events

  • Overview
  • Event Targets
  • Event Types
  • Routing events
  • Handling events
  • Mouse events
  • Key events

Section 10 – Layout Panes

  • Introduction
  • Layout Pane classes
  • Utilities
  • Children
  • Grouping

Section 11 – Model View Controller

  • Overview
  • Implementing the pattern

Section 12 – Controls

  • Overview
  • Labels
  • Buttons
  • Lists
  • Choices
  • Combobox
  • Dates & Color pickers
  • Input controls
  • Scrolling & Paging
  • Menus
  • Tabs
  • HTML Editor

Section 13 – Advanced Controls

  • TableView
  • TreeView
  • TreeTableView

Section 14 – 2D Graphics

  • Lines
  • Rectangles
  • Circles
  • Polygons
  • Curves
  • Path

Section 15 – 3D Graphics

  • 3D Shapes
  • Coordinate System
  • Cameras
  • Lights
  • Scenes

Section 16 – Effects

  • Overview
  • Shadows
  • Blurring
  • Bloom
  • Glow
  • Lighting
  • Other effects

Section 17 – Overview of Transformations & Animations

  • Transformations
  • Animation classes

Section 18 – Charts Overview

  • Overview
  • Charts API
  • Overview of chart types

Section 19 – Images

  • Overview
  • Loading Images
  • Saving Images

Section 20 – Concurrency

  • The concurrency framework
  • Task<>
  • Service<>

Section 21 – FXML

  • Overview
  • Basics
  • Specifying a UI in FXML