Free NetBeans Platform Crash Course
Geertjan Wielenga Technical Writer NetBeans Team
1
Key Terms
Runtime Container Modularity Pluggability Virtual filesystem Loose coupling Swing Extensions to Swing
5. Template Bar Chart
Oil & Gas Analysis
Boeing Load Analysis
Biological Microarray Analysis
UNESCO Data Manager
Photo Workflow Manager
Commonalities
Very large Windows, toolbars, menus, etc. Very domain-specific Extensible/pluggable at runtime Distributed development Flexible Community-oriented
10
11
12
13
14
Runtime Container
Lifecycle management Modularity Virtual filesystem Module loading Classloading Versioning Dependency management
15
NetBeans Module
M a nifes t-V ers io n: 1.0 A nt-V ers io n: A pa c he A nt 1.7.0 C rea ted-B y: 1.5.0_14-b03 (S un M ic ro s ys tem s I nc .) O penI D E -M o dule-P ublic -P a c k a g es : O penI D E -M o dule-M o dule-D ependenc ies : o rg .netbea ns .a [Link] va /1, ... O penI D E -M o dule-J a va -D ependenc ies : J a va > 1.5 O penI D E -M o dule-B uild-V ers io n: 200804211638 O penI D E -M o dule-S pec ific a tio n-V ers io n: [Link].1.1.6 O penI D E -M o dule: o rg .netbea ns .m o dules .ja va .edito r/1 O penI D E -M o dule-I m plem enta tio n-V ers io n: 4 O penI D E -M o dule-L o c a lizing -B undle: o rg /netbea ns /m o dules /ja va /edito r/B [Link] perties
16
NetBeans Module
O penI D E -M o dule-I ns ta ll: o rg /netbea ns /m o dules /ja va /edito r/J a va E dito rM o dule.c la s s O penI D E -M o dule-L a yer: o rg /netbea ns /m o dules /ja va /edito r/res o urc es /la yer.x m l O penI D E -M o dule-R equires : o rg .o penide.m o dules .M o dule Fo rm a t1 A uto U pda te-S ho w -I n-C lient: fa ls e
17
20% 57% 15%
18
20% 57% 15%
19
give me a SaveCookie
SaveAction
Editor
s
s == null ?
20%
no
yes
57% 15%
interface SaveCookie { void save(); }
disable action
enable action on action invocation: call [Link]()
20
20% 57% 15%
21
20% 57% 15%
22
23
20% 57% 15%
24
20% 57% 15%
25
Main NetBeans Platform APIs
Runtime Container APIs Window System API Visual Library API Nodes API Explorer & Property Sheet API Dialogs API Actions API
26
Main NetBeans IDE APIs
Java Editor APIs Project APIs Common Palette API WebFrameworkSupport API
27
Out-of-the-Box Components
JavaHelp Plugin Manager Favorites window Properties window Navigator Output window Options window
28
Bare NetBeans Platform
29
Business Reasons
[Link]
> Dependency & versioning management > Flexibility For users For developers
[Link] Extensions
> > > >
Window system Widget library Nodes & Explorer views Out-of-the-box components
30
Oil & Gas Analysis
31
Boeing Load Analysis
32
Biological Microarray Analysis
33
UNESCO Data Manager
34
Photo Workflow Manager
35
Summary
Runtime Container Modularity Pluggability Virtual filesystem Loose coupling Swing Extensions to Swing
36
Next Steps
[Link] [Link]/screenshots [Link]/tutorials/ [Link] [Link]/book/view/ 9781430224174
37
5. Template Bar Chart
38