creating rich desktop applications with javafx smart, easy and fast stefan vadev technical trainer...

22
Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer [email protected] om Software University http:// softuni.bg

Upload: eugenia-berry

Post on 04-Jan-2016

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Creating Rich Desktop applications with JavaFX

Smart, easy and fast

Stefan VadevTechnical [email protected] Universityhttp://softuni.bg

Page 2: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Няколко думи за лектора

1. Works as Java Software Developer

2. Enjoys learning new stuff and sharing cool ideas

3. Open-source and free software fan

4. Motivates and teaches people to do

Programming and IT

4. Charity

5. Loves Swimming

5. Passionate Table Tenis player 2

Page 3: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Table of Contents

1. Какво е JavaFX и защо е добра технология за Desktop apps?

2. JavaFX vs. Swing

3. Let’s code! JavaFX Demos

5. Let's build using the drag 'n drop Scene Builder

3

Page 4: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Какво е JavaFX и защо е добра технология за Desktop приложения?

Page 5: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Какво е JavaFX и защо е добра технология за Desktop приложения?

JavaFX APIs – uses Java Code

JavaFX has the WORA mantra (write once, run anywhere)

Scene Builder - Drag and Drop. Separate UI from logic with FXML.

WebView. Used for RIAs.

Swing interoperability.

Built-in UI controls and CSS.

Multitouch Support.

High-performance media engine.

5

Page 6: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

JavaFX vs Swing

The official API to replace Swing, supported by Oracle

Styleable controls

Very powerful data binding, properties.

Better event handling

More features

Modern looking

Easier animation

Based on a scene graph superior to Swing’s models

6

Page 7: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University
Page 9: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Managing user events

Page 11: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Switching scenes

Page 12: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Properties. Data binding

Page 13: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Working with TableViews

Page 14: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

CSS integration

Page 15: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Embedding Media

Page 16: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

WebView example

Page 17: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

3D Graphics with JavaFx

Page 18: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Working with Scene Builder

Page 19: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

Resources

Page 21: Creating Rich Desktop applications with JavaFX Smart, easy and fast Stefan Vadev Technical Trainer stefan.vadev@gmail.com Software University

21

Email: [email protected]

LinkedIn: Stefan Vadev

За връзка с лектора