Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

JSUG - Java FX by Christoph Pickl

831 views

Published on

visit http://jsug.fsinf.at

Published in: Technology
  • Be the first to comment

  • Be the first to like this

JSUG - Java FX by Christoph Pickl

  1. 1. JavaFX Christoph Pickl Tuesday, December 16, 2008 1
  2. 2. Agenda 1. Introduction 2. Theory 3. Showcase Tuesday, December 16, 2008 2
  3. 3. Introduction History, Background, Troubles Tuesday, December 16, 2008 3
  4. 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. 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. 6. Troubles Website broken Eclipse Plugin Maven Plugin Unstable Syntax Outdated Tutorials Tuesday, December 16, 2008 6
  7. 7. Theory Syntax, Language Features Tuesday, December 16, 2008 7
  8. 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. 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. 10. Language Features Binding Sequences Object Literal Notation Multiple Inheritance, Exceptions ... Java! Tuesday, December 16, 2008 10
  11. 11. Showcase Tuesday, December 16, 2008 11
  12. 12. Tuesday, December 16, 2008 12
  13. 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

×