JSUG - Java FX by Christoph Pickl

  • 581 views
Uploaded on

visit http://jsug.fsinf.at

visit http://jsug.fsinf.at

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
581
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
27
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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
  • 6. Troubles Website broken Eclipse Plugin Maven Plugin Unstable Syntax Outdated Tutorials Tuesday, December 16, 2008 6
  • 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
  • 11. Showcase Tuesday, December 16, 2008 11
  • 12. Tuesday, December 16, 2008 12
  • 13. 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 Tuesday, December 16, 2008 13