Getting Started with the NetBeans Platform Geertjan Wielenga - - PowerPoint PPT Presentation

getting started with the netbeans platform
SMART_READER_LITE
LIVE PREVIEW

Getting Started with the NetBeans Platform Geertjan Wielenga - - PowerPoint PPT Presentation

Getting Started with the NetBeans Platform Geertjan Wielenga http://blogs.sun.com/geertjan Agenda Goals 1. Generic Desktop Framework 2. Infrastructural Plumbing 3. Collection of Libraries 4. Swing Extensions 5. NetBeans Platform


slide-1
SLIDE 1

Getting Started with the NetBeans Platform

Geertjan Wielenga http://blogs.sun.com/geertjan

slide-2
SLIDE 2

2

Agenda

  • Goals
  • 1. Generic Desktop Framework
  • 2. Infrastructural Plumbing
  • 3. Collection of Libraries
  • 4. Swing Extensions
  • 5. NetBeans Platform Toolkit
  • Demo: Porting to NetBeans Platform
  • Resources
slide-3
SLIDE 3

3

  • Meet the NetBeans Platform
  • Understand its problem domain
  • Get an overview of the main APIs
  • See a demo
  • Learn what to do next

Goals

slide-4
SLIDE 4

4

Agenda

  • Goals
  • 1. Generic Desktop Framework
  • 2. Infrastructural Plumbing
  • 3. Collection of Libraries
  • 4. Swing Extensions
  • 5. NetBeans Platform Toolkit
  • Demo: Porting to NetBeans Platform
  • Resources
slide-5
SLIDE 5

5

NetBeans Platform

slide-6
SLIDE 6

6

Nuance Voice-XML

slide-7
SLIDE 7

7

Fiorano Studio

slide-8
SLIDE 8

8

Nokia: Mobile Network

slide-9
SLIDE 9

9

Sketsa SVG Editor

slide-10
SLIDE 10

10

VisualVM

slide-11
SLIDE 11

11

AIOTrade

slide-12
SLIDE 12

12

NetBeans IDE

slide-13
SLIDE 13

13

JCae-CAD

slide-14
SLIDE 14

14

MC4J JMX Console

slide-15
SLIDE 15

15

JFugue Music Notepad

slide-16
SLIDE 16

16

StudioSL: Oil Flow

slide-17
SLIDE 17

17

Agenda

  • Goals
  • 1. Generic Desktop Framework
  • 2. Infrastructural Plumbing
  • 3. Collection of Libraries
  • 4. Swing Extensions
  • 5. NetBeans Platform Toolkit
  • Demo: Porting to NetBeans Platform
  • Resources
slide-18
SLIDE 18

18

Maybe this is your code:

slide-19
SLIDE 19

19

Maybe this is you:

slide-20
SLIDE 20

20

This should be you...

domain expert knowledge

slide-21
SLIDE 21

21

Application “Plumbing”

  • Windowing/docking system
  • Archictecture
  • Lifecycle management
  • Persistence
  • Data management
  • Consistent look & feel
  • Distribution/update mechanism
slide-22
SLIDE 22

22

Demo

slide-23
SLIDE 23

23

Agenda

  • Goals
  • 1. Generic Desktop Framework
  • 2. Infrastructural Plumbing
  • 3. Collection of Libraries
  • 4. Swing Extensions
  • 5. NetBeans Platform Toolkit
  • Demo: Porting to NetBeans Platform
  • Resources
slide-24
SLIDE 24

24

Javadoc

slide-25
SLIDE 25

25

Libraries

  • Window System API
  • Actions API
  • Options Window API
  • Many Editor APIs
  • Visual Library API
  • ...and many more
slide-26
SLIDE 26

26

Ways to get started

  • Javadoc
  • Tutorials
  • Samples
  • Blog entries

Tip: Use them outside the NetBeans Platform

slide-27
SLIDE 27

27

Agenda

  • Goals
  • 1. Generic Desktop Framework
  • 2. Infrastructural Plumbing
  • 3. Collection of Libraries
  • 4. Swing Extensions
  • 5. NetBeans Platform Toolkit
  • Demo: Porting to NetBeans Platform
  • Resources
slide-28
SLIDE 28

28

In addition to...

  • JLabel
  • JTextField
  • JTextArea
  • JTable
  • ...etc...
slide-29
SLIDE 29

29

TreeTableView

slide-30
SLIDE 30

30

Visual Widgets

slide-31
SLIDE 31

31

More Visual Widgets

slide-32
SLIDE 32

32

More Visual Widgets

slide-33
SLIDE 33

33

Drop Down Button Factory

slide-34
SLIDE 34

34

Tabbed Pane Factory

slide-35
SLIDE 35

35

Agenda

  • Goals
  • 1. Generic Desktop Framework
  • 2. Infrastructural Plumbing
  • 3. Collection of Libraries
  • 4. Swing Extensions
  • 5. NetBeans Platform Toolkit
  • Demo: Porting to NetBeans Platform
  • Resources
slide-36
SLIDE 36

36

Project wizards

slide-37
SLIDE 37

37

NetBeans Platform

slide-38
SLIDE 38

38

Outline view

slide-39
SLIDE 39

39

Project wizards

slide-40
SLIDE 40

40

File wizards

slide-41
SLIDE 41

41

File wizards

  • Actions API
  • Datasystems API
  • Module Install class
  • Options Dialog API
  • TopComponent class
  • Wizard Descriptor class
slide-42
SLIDE 42

42

Configuration

slide-43
SLIDE 43

43

Editor

slide-44
SLIDE 44

44

While developing... ...enhance the IDE

slide-45
SLIDE 45

45

Dependencies

slide-46
SLIDE 46

46

Dependencies

slide-47
SLIDE 47

47

Contextual menus

slide-48
SLIDE 48

48

Contextual menus

slide-49
SLIDE 49

49

Samples

slide-50
SLIDE 50

50

Agenda

  • Goals
  • 1. Generic Desktop Framework
  • 2. Infrastructural Plumbing
  • 3. Collection of Libraries
  • 4. Swing Extensions
  • 5. NetBeans Platform Toolkit
  • Demo: Porting to the NetBeans

Platform

  • Resources
slide-51
SLIDE 51

51

Demo Outline

  • 1. Start with a simple application.
  • 2. Compare what it is to what the

NetBeans Platform has.

  • 3. Create a new plugin project.
  • 4. Move the useful parts of our old

application to our new plugin.

  • 5. Run it.
slide-52
SLIDE 52

52

Demo

slide-53
SLIDE 53

53

Porting Guide

http://platform.netbeans.org/tutorials/60/ nbm-porting-basic.html

slide-54
SLIDE 54

54

Agenda

  • Goals
  • 1. Generic Desktop Framework
  • 2. Infrastructural Plumbing
  • 3. Collection of Libraries
  • 4. Swing Extensions
  • 5. NetBeans Platform Toolkit
  • Demo: Porting to the NetBeans Platform
  • Resources
slide-55
SLIDE 55

55

Resources

http://www.netbeans.org/kb/articles/books.html

slide-56
SLIDE 56

56

slide-57
SLIDE 57

57

slide-58
SLIDE 58

58

slide-59
SLIDE 59

59

References

  • dev@openide.netbeans.org
  • users@edu.netbeans.org
  • http://bits.netbeans.org/dev/

javadoc/index.html

  • http://platform.netbeans.org
  • http://wiki.netbeans.org/

NetBeansDeveloperFAQ

  • http://blogs.sun.com/geertjan
  • http://plugins.netbeans.org/PluginPortal/
slide-60
SLIDE 60

60

  • Many on the NetBeans Platform
  • NetBeans Platform gives plumbing
  • Many APIs and libraries to help you
  • NetBeans IDE provides tools
  • Getting started is easy
  • Mail list, tutorials, and training course

Summary