JSUG - Java FX by Christoph Pickl
-
Upload
christoph-pickl -
Category
Technology
-
view
1.420 -
download
0
description
Transcript of JSUG - Java FX by Christoph Pickl
JavaFXChristoph Pickl
1Tuesday, December 16, 2008
Agenda
1. Introduction
2. Theory
3. Showcase
2Tuesday, December 16, 2008
IntroductionHistory, Background, Troubles
3Tuesday, December 16, 2008
History
JavaFX Script (before F3: Form Follows Function)
Sun acquired SeeBeyond Technology 2005
First announcement May 2007 at JavaOne
was interpreted instead of compiled Chris Oliver
4Tuesday, December 16, 2008
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)
5Tuesday, December 16, 2008
TroublesWebsite broken
Eclipse Plugin
Maven Plugin
Unstable Syntax
Outdated Tutorials
6Tuesday, December 16, 2008
TheorySyntax, Language Features
7Tuesday, December 16, 2008
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: "Hello JSUG" width: 200 height: 150 visible: true }
8Tuesday, December 16, 2008
SyntaxJava 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}”);
9Tuesday, December 16, 2008
Language Features
Binding
Sequences
Object Literal Notation
Multiple Inheritance, Exceptions
... Java!
10Tuesday, December 16, 2008
Showcase
11Tuesday, December 16, 2008
12Tuesday, December 16, 2008
Links
http://javafx.com
http://java.sun.com/javafx/1/tutorials/core/
http://java.sun.com/javafx/1/tutorials/ui/
... http://jsug.fsinf.at/Meeting_8
13Tuesday, December 16, 2008