desktop intro

26
1 Productive Desktop Productive Desktop Development with NetBeans IDE Development with NetBeans IDE Geertjan Wielenga, NetBeans Team Geertjan Wielenga, NetBeans Team

Upload: mufix-community

Post on 01-Nov-2014

998 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Desktop Intro

1

Productive Desktop Productive Desktop Development with NetBeans IDEDevelopment with NetBeans IDE

Geertjan Wielenga, NetBeans TeamGeertjan Wielenga, NetBeans Team

Page 2: Desktop Intro

2

Goal of the Talk 

Learn about:● Swing UI Design with NetBeans IDE● Swing Frameworks with NetBeans IDE

- Swing Application Framework- NetBeans Platform

● Swing Scripting with NetBeans IDE - Groovy- JavaFX

Page 3: Desktop Intro

3

Swing UI Design with NetBeans IDE• “Matisse” GUI Builder

Page 4: Desktop Intro

4

Problem Statement• Creating/Designing Swing UI is hard• Swing LayoutManagers are difficult to use• Consistency of layouts is difficult

Page 5: Desktop Intro

5

Problem Statement• Creating/Designing Swing UI is hard• Swing LayoutManagers are difficult to use• Consistency of layouts is difficult

• Drag & Drop / Point & Click• Remove the need to interact with LayoutManager• Resize, Align, Automatic Growth of components• Free!

Solution

Page 6: Desktop Intro

6

Demo!

Page 7: Desktop Intro

7

Swing Frameworks (Part 1)

Page 8: Desktop Intro

8

Problem Statement• Applications become larger• Typical parts are created over & over again• Need to work quickly & efficiently

Page 9: Desktop Intro

9

Problem Statement• Applications become larger• Typical parts are created over & over again• Need to work quickly & efficiently

• Action system• Task system• Resource system• Some other services

Solution

Page 10: Desktop Intro

10

Demo!

Page 11: Desktop Intro

11

Swing Frameworks (Part 2)

Page 12: Desktop Intro

12

Problem Statement• Applications become even larger!• Teams become distributed• Updates/Exclusions needed between releases

Page 13: Desktop Intro

13

Problem Statement• Applications become even larger!• Teams become distributed• Updates/Exclusions needed between releases

• Modularity• Window system• Pluggability• Many other services

Solution

Page 14: Desktop Intro

14

Demo!

Page 15: Desktop Intro

15

Groovy• Many tasks in Java are overly complex

> File processing> XML processing> Web service handling

• Scripting languages don't integrate well with Java> Ruby> Python

• Groovy does both of the above!

Page 16: Desktop Intro

16

Demo!

Page 17: Desktop Intro

17

JavaFX• New & Hot• Aim: Rapid GUI development• Declarative language• Focused on: Animation, Graphic, Media, Effect• Special scripting language: Integrates Java• Cool features: data binding, media• Tooling: NetBeans IDE & Eclipse• Currently supported on: Windows & Mac

Page 18: Desktop Intro

18

Page 19: Desktop Intro

19

Page 20: Desktop Intro

20

JavaFX

Page 21: Desktop Intro

21

Demo!

Page 22: Desktop Intro

22

Learning about JavaFX• Samples• Tutorials• Books

Page 23: Desktop Intro

23

Documentation• Learning Trails & Tutorials for All Technologies

> Java SE> Java EE> Java ME> Ruby> PHP> JavaFX> NetBeans Platform> ...> ...

• Free NetBeans Platform Training Course!

Page 24: Desktop Intro

24

Also...• Java ME

Page 25: Desktop Intro

25

Summary : NetBeans IDE• Free• Award winning IDE• Great for Swing UI prototyping & design• Great for building advanced applications

> Swing Application Framework> NetBeans Platform

• Great for JavaFX Script Language• Includes many features – all for Free!• Many 3rd party plugins are also available

Page 26: Desktop Intro

26

References • http://www.netbeans.org/• http://platform.netbeans.org

• http://netbeans.dzone.com• http://blogs.sun.com/geertjan

[email protected][email protected][email protected]