12 GUI Programming

Oracle Academy Section

Section 9: JavaFX

  • Lesson 1: Introduction to Java FX

  • Lesson 2: Colors and Shapes

  • Lesson 3: Graphics, Audio, and MouseEvents

Section 9 Quiz

Java Foundations Certification Exam Topics

  • This topic is not on the certification exam but is on the final exam.

Key Resources

  1. Java Tutorials:

    1. JavaFX Overview

    2. Sample Applications

Supplemental Resources


Most Important Concepts / Code

  • Use JavaFX, not Swing

  • It is easier to use JavaFX with Java 8

Hour 1

  • Create a GUI in JavaFX (NetBeans)

    • FXML Application

  • Mouse Events

Hour 2

  • Continue GUI

  • Colors and Shapes

  • Graphics and Audio

https://www.explainxkcd.com/wiki/index.php/1770:_UI_Change