SlideShare a Scribd company logo
Client side technologies
JavaFX
Dennis Kirch, Bao Loc Nguyen Ngo, Nicolas Osterloh,
Torsten Sehy, Stephan Wels
Web Technologies – Prof. Dr. Ulrik Schroeder – WS 2010/111
The slides are licensed under a
Creative Commons Attribution 3.0 License
Overview
Web Technologies2
 Introduction
 Orientation
 Concept
 Examples
 Video Puzzle
 Winter Olympics App
 Creating a Project
 Programming basic
 JavaFX in NetBeans
 Browser integration
 Live Coding
 Future Development
 JavaFX 2.0
 Conclusion
Orientation
Web Technologies3
Main Ideas
 Framework for rich internet applications
 Rapid GUI Development
 Platform independence
 Target multiple device types
 Drag-to-install
 Security
Web Technologies4
Platform Architecture
Web Technologies5
Desktop
Elements
Mobile
Elements
TV
Elements
Common Elements
JavaFX Runtime
Program Structure
 Scripting language JavaFX Script.
 Object oriented.
 Multiple inheritance possible.
 GUI-design with JavaFX Script or CSS.
 Event driven interaction.
 Program logic based on state machine
 NetBeans IDE Feature.
 Individual logic-layer for each state.
 Time triggered state change.
 Code induced state change.
Web Technologies6
Technical Details
 Compiler creates Java Byte Code.
 Platform independence
 JavaVM installed on 75% of all Desktop-Computers.
 Proven and tested Runtime Environment.
 Multiple website-embedding techniques
 Java Web Start
 Java Applet
 Interaction with Website
 JavaScript to JavaFX Communication
 DOM access
Web Technologies7
Security Concepts
 Sandboxing
 Limited HDD usage.
 No access to extern servers.
 Signatures
 Unsigned Programs
 Execution always demands agreement.
 Self signed Programs
 Enables trusted parties.
 Signed Programs
Web Technologies8
Examples
Web Technologies9
Video-Puzzle:Official Winter Olympics App:
Programming in JavaFX - Overview
 Objects and Data Types
 Content and media
 Events and Bindings
Web Technologies10
Objects & Data Types
Web Technologies11
Content and Media
Web Technologies12
Content and Media
Web Technologies13
Content and Media
Web Technologies14
Content and Media
Web Technologies15
Content and Media
Web Technologies16
Events and Bindings (1)
Web Technologies17
Events and Bindings (2)
Web Technologies18
Observer Pattern
Events and Bindings (3)
Web Technologies19
Observer Pattern
Events and Bindings (4)
Web Technologies20
Events and Bindings (5)
Web Technologies21
Web Technologies22
NetBeans IDE
Web Technologies23
Palette
NetBeans IDE
Web Technologies24
Palette
Properties
NetBeans IDE
Web Technologies25
Palette
PropertiesNavigator
NetBeans IDE
Web Technologies26
Palette
PropertiesNavigator
Design-
preview
NetBeans IDE
Web Technologies27
Palette
Properties
State window
Navigator
Design-
preview
NetBeans IDE
Design Code Generation
Web Technologies28
Browser Integration
Web Technologies29
• Integration as Java-Applet possible
• JavaScript code generated by JavaFX
SDK
• Problem: Needs enabled JavaScript
Live Coding
Web Technologies30
 Components
 Stage
 Scene
 Nodes
Live Coding
Web Technologies31
 Components
 Stage
 Scene
 Nodes
Code Example
Stage {
title : "DiaShow",
scene : Scene {
content : [
…//some nodes
]
} // end Scene
} //end Stage
Web Technologies32
The Diashow (1)
 Features
 Display one image at a time
 Switch image
 Switching modes
 Simple replacement
 Fade in / Fade out
 Fade in / Fade out (rotating)
Web Technologies33
The Diashow (2)
 IDE : Eclipse
 JavaFX Plugin available
 Step by Step
 Step 1 : Display image and button
 Step 2 : Switch between images
 Step 3 : Fade in / Fade out
 Step 4 : Rotate images
Web Technologies34
Future Development – JavaFX 2.0
 Release in second half of 2011.
 New scripting language.
 Old scripting language discontinued.
 No downward compatibility.
 Complete rewrite projects to use new features.
 Full screen video support
 Multithreading Improvements
 Improved Startup Performance.
Web Technologies35
Conclusions
 Ideal for fast graphical RIAs.
 Late involvement in RIA development by Sun.
 Maybe too late.
 Flash dominates the market.
 Wait for JavaFX 2.0
 New Features
 Only need to write the code once(New scripting language)
 Most features realizable with HTML5
 Better compatibility especially for mobile Devices (e.g iPhone,
iPad, Windows Phone 7)
 HTML5 canvas element slower.
Web Technologies36

More Related Content

PDF
QNX, C/C++, Qt, Cascades, HTML5… So what’s now BlackBerry 10 application deve...
PPTX
BlackBerry WebWorks
PDF
Cordova 3, apps para android
PPTX
JavaFX on Mobile (by Johan Vos)
PDF
RIM Casual Meetup - Bandung #DevIDBdg
PPTX
Silverlight
PDF
What's new in ios 7.0
PPTX
Docker for .net developer
QNX, C/C++, Qt, Cascades, HTML5… So what’s now BlackBerry 10 application deve...
BlackBerry WebWorks
Cordova 3, apps para android
JavaFX on Mobile (by Johan Vos)
RIM Casual Meetup - Bandung #DevIDBdg
Silverlight
What's new in ios 7.0
Docker for .net developer

What's hot (19)

PDF
Android Presentation
PDF
Mastinder singh visualcv_resume
PPTX
Azure Mobile Services (+ Universal Apps)
ODP
PPTX
An overview of mobile html + java script frameworks
PDF
Revue des annonces WWDC2015
PDF
Framework dynamic par Simone Sivetta
PPTX
O futuro do .NET : O que eu preciso saber
PPTX
Android Handheld Systems
PDF
Light-up-your-out-of-the-box LightSwitch Application
PDF
Docker Switzelrand Meetup #18 DockerCon Recap
PPT
Introduction to android
DOCX
Nitin devops
PPTX
Android Overview
PDF
Sencha touchonbb10 bootcamp
PPTX
Capturing Your Audience with Kinect
PPTX
Introduction to android basics
PPTX
Nightly build done right
PDF
Sg conference multiplatform_apps_adam_stanley
Android Presentation
Mastinder singh visualcv_resume
Azure Mobile Services (+ Universal Apps)
An overview of mobile html + java script frameworks
Revue des annonces WWDC2015
Framework dynamic par Simone Sivetta
O futuro do .NET : O que eu preciso saber
Android Handheld Systems
Light-up-your-out-of-the-box LightSwitch Application
Docker Switzelrand Meetup #18 DockerCon Recap
Introduction to android
Nitin devops
Android Overview
Sencha touchonbb10 bootcamp
Capturing Your Audience with Kinect
Introduction to android basics
Nightly build done right
Sg conference multiplatform_apps_adam_stanley
Ad

Viewers also liked (7)

PPTX
Presentation JavaFX
PDF
Pictures from DCF Workshop within Case Champ. 18 Feb 2011
PDF
Case champ - what case is
PPTX
Фото с мастер-класса от компании ITT
PPTX
Hardware
PPT
Arcanum (online round)
PDF
Cv guide from case champ
Presentation JavaFX
Pictures from DCF Workshop within Case Champ. 18 Feb 2011
Case champ - what case is
Фото с мастер-класса от компании ITT
Hardware
Arcanum (online round)
Cv guide from case champ
Ad

Similar to Presentation JavaFX (20)

PPTX
Moving to the Client - JavaFX and HTML5
PDF
"BlackBerry Webworks : Apps for The Smartphone and Tablet"
PPTX
JavaFX Versus HTML5 - JavaOne 2014
PDF
Developing for BlackBerry 10 – Tools and SDKs by Luca Filigheddu
PPTX
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
PDF
Moving to the Client - JavaFX and HTML5
PDF
Android : How Do I Code Thee?
PPTX
Crosswalk and the Intel XDK
PPSX
Web development concepts using microsoft technologies
PDF
The WebKit project
PDF
HTML5 Intoduction for Web Developers
PPT
Moving to the Client - JavaFX and HTML5 (PowerPoint Version)
PPT
JSF basics
PDF
[English version] JavaFX and Web Integration
PPTX
OpenJFX on Android and Devices
PPTX
WebLogic and GraalVM
PDF
Guides To Analyzing WebKit Performance
PDF
WebWorks Development for BlackBerry PlayBook and Smartphones
PDF
Busy developer-html5-javaee7
PDF
A164 enterprise javascript ibm node sdk
Moving to the Client - JavaFX and HTML5
"BlackBerry Webworks : Apps for The Smartphone and Tablet"
JavaFX Versus HTML5 - JavaOne 2014
Developing for BlackBerry 10 – Tools and SDKs by Luca Filigheddu
Hybrid Mobile Development with Apache Cordova and Java EE 7 (JavaOne 2014)
Moving to the Client - JavaFX and HTML5
Android : How Do I Code Thee?
Crosswalk and the Intel XDK
Web development concepts using microsoft technologies
The WebKit project
HTML5 Intoduction for Web Developers
Moving to the Client - JavaFX and HTML5 (PowerPoint Version)
JSF basics
[English version] JavaFX and Web Integration
OpenJFX on Android and Devices
WebLogic and GraalVM
Guides To Analyzing WebKit Performance
WebWorks Development for BlackBerry PlayBook and Smartphones
Busy developer-html5-javaee7
A164 enterprise javascript ibm node sdk

Presentation JavaFX