This document summarizes a presentation about JavaFX. It includes an introduction that discusses JavaFX's history and background, as well as past troubles. The presentation also covers the theory behind JavaFX, including its syntax and language features, which are similar to Java but also include declarative notation and binding. The agenda concludes with a showcase of JavaFX.
Axa Assurance Maroc - Insurer Innovation Award 2024
JSUG - Java FX by Christoph Pickl
1. JavaFX
Christoph Pickl
Tuesday, December 16, 2008 1
2. Agenda
1. Introduction
2. Theory
3. Showcase
Tuesday, December 16, 2008 2
3. Introduction
History, Background, Troubles
Tuesday, December 16, 2008 3
4. History
JavaFX Script (before F3: Form Follows Function)
Sun acquired SeeBeyond Technology 2005
First announcement May 2007 at JavaOne
Chris Oliver
was interpreted instead of compiled
Tuesday, December 16, 2008 4
5. Background
targets Rich Internet Application domain
replaces Swing and Webstart
Open Sourced via OpenJFX project (GPL)
Intended for Swing-/Web-Developers
Java SE 6 recommended (5 supported)
Tuesday, December 16, 2008 5
7. Theory
Syntax, Language Features
Tuesday, December 16, 2008 7
8. Syntax
Declarative or Procedural Syntax (object-oriented)
kind of JSON notation (no XML)
static typed with type inference (declaration optional)
no other language extensions (such as: E4X, LINQ)
javafx.stage.Stage { title: quot;Hello JSUGquot;
width: 200 height: 150 visible: true }
Tuesday, December 16, 2008 8
9. Syntax
Java JavaFX
Simple =+-*/% = + - * / mod
Compound += -= *= /= %= += -= *= /=
Comparison < <= > >= != < <= > >= !=
Logical && || and or
Creation new X(); new X(); X { };
Variable Person p; var p: Person;
Method private String f(); function f(): String;
Strings println(“x: ” + x); println(“x: {x}”);
Tuesday, December 16, 2008 9
10. Language Features
Binding
Sequences
Object Literal Notation
Multiple Inheritance, Exceptions
... Java!
Tuesday, December 16, 2008 10