Presentation is loading. Please wait.

Presentation is loading. Please wait.

Geertjan Wielenga http://blogs.sun.com/geertjan This presentation introduces Swing Application Framework and Beans Binding JSRs. These are two new JSRs.

Similar presentations


Presentation on theme: "Geertjan Wielenga http://blogs.sun.com/geertjan This presentation introduces Swing Application Framework and Beans Binding JSRs. These are two new JSRs."— Presentation transcript:

1 Geertjan Wielenga http://blogs.sun.com/geertjan
This presentation introduces Swing Application Framework and Beans Binding JSRs. These are two new JSRs which greatly simplify desktop Java development. We will also cover new GUI Building features in NetBeans 6 as a part of this presentation. Geertjan Wielenga

2 Agenda Goals Generic Desktop Framework Infrastructural Plumbing
Collection of Libraries Swing Extensions NetBeans Platform Toolkit Demo: Porting to NetBeans Platform Resources The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

3 Goals Meet the NetBeans Platform Understand its problem domain
Get an overview of the main APIs See a demo Learn what to do next We'll continue with the second part of this presentation - Beans Binding.

4 Agenda Goals Generic Desktop Framework Infrastructural Plumbing
Collection of Libraries Swing Extensions NetBeans Platform Toolkit Demo: Porting to NetBeans Platform Resources The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

5 NetBeans Platform The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

6 Nuance Voice-XML The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

7 Fiorano Studio The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

8 Nokia: Mobile Network The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

9 Sketsa SVG Editor The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

10 VisualVM The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

11 AIOTrade The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

12 NetBeans IDE The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

13 JCae-CAD The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

14 MC4J JMX Console The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

15 JFugue Music Notepad The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

16 StudioSL: Oil Flow The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

17 Agenda Goals Generic Desktop Framework Infrastructural Plumbing
Collection of Libraries Swing Extensions NetBeans Platform Toolkit Demo: Porting to NetBeans Platform Resources The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

18 Maybe this is your code:
The user moves the slider and a ChangeListener is called.

19 Maybe this is you: The user moves the slider and a ChangeListener is called.

20 This should be you... domain expert knowledge
The user moves the slider and a ChangeListener is called. domain expert knowledge

21 Application “Plumbing”
Windowing/docking system Archictecture Lifecycle management Persistence Data management Consistent look & feel Distribution/update mechanism The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

22 Demo We'll continue with the second part of this presentation - Beans Binding.

23 Agenda Goals Generic Desktop Framework Infrastructural Plumbing
Collection of Libraries Swing Extensions NetBeans Platform Toolkit Demo: Porting to NetBeans Platform Resources The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

24 Javadoc The user moves the slider and a ChangeListener is called.

25 Libraries Window System API Actions API Options Window API
Many Editor APIs Visual Library API ...and many more The user moves the slider and a ChangeListener is called.

26 Ways to get started Javadoc Tutorials Samples Blog entries
Tip: Use them outside the NetBeans Platform The user moves the slider and a ChangeListener is called.

27 Agenda Goals Generic Desktop Framework Infrastructural Plumbing
Collection of Libraries Swing Extensions NetBeans Platform Toolkit Demo: Porting to NetBeans Platform Resources The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

28 In addition to... JLabel JTextField JTextArea JTable ...etc...
The user moves the slider and a ChangeListener is called.

29 TreeTableView The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

30 Visual Widgets The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

31 More Visual Widgets The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

32 More Visual Widgets The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

33 Drop Down Button Factory
The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

34 Tabbed Pane Factory The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

35 Agenda Goals Generic Desktop Framework Infrastructural Plumbing
Collection of Libraries Swing Extensions NetBeans Platform Toolkit Demo: Porting to NetBeans Platform Resources The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

36 Project wizards The user moves the slider and a ChangeListener is called.

37 NetBeans Platform The user moves the slider and a ChangeListener is called.

38 Outline view The user moves the slider and a ChangeListener is called.

39 Project wizards The user moves the slider and a ChangeListener is called.

40 File wizards The user moves the slider and a ChangeListener is called.

41 File wizards Actions API Datasystems API Module Install class
Options Dialog API TopComponent class Wizard Descriptor class The user moves the slider and a ChangeListener is called.

42 Configuration The user moves the slider and a ChangeListener is called.

43 Editor The user moves the slider and a ChangeListener is called.

44 While developing... ...enhance the IDE
The user moves the slider and a ChangeListener is called.

45 Dependencies The user moves the slider and a ChangeListener is called.

46 Dependencies The user moves the slider and a ChangeListener is called.

47 Contextual menus The user moves the slider and a ChangeListener is called.

48 Contextual menus The user moves the slider and a ChangeListener is called.

49 Samples The user moves the slider and a ChangeListener is called.

50 Agenda Goals Generic Desktop Framework Infrastructural Plumbing
Collection of Libraries Swing Extensions NetBeans Platform Toolkit Demo: Porting to the NetBeans Platform Resources The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

51 Demo Outline Start with a simple application.
Compare what it is to what the NetBeans Platform has. Create a new plugin project. Move the useful parts of our old application to our new plugin. Run it. We'll continue with the second part of this presentation - Beans Binding.

52 Demo We'll continue with the second part of this presentation - Beans Binding.

53 Porting Guide We'll continue with the second part of this presentation - Beans Binding. nbm-porting-basic.html

54 Agenda Goals Generic Desktop Framework Infrastructural Plumbing
Collection of Libraries Swing Extensions NetBeans Platform Toolkit Demo: Porting to the NetBeans Platform Resources The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

55 Resources http://www.netbeans.org/kb/articles/books.html
The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

56 The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

57 The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

58 The agenda is pretty straightforward:
1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

59 References dev@openide.netbeans.org users@edu.netbeans.org
javadoc/index.html NetBeansDeveloperFAQ The agenda is pretty straightforward: 1. Introduce Swing Application Framework and do a demo of an application that uses it to learn the basics of this JSR. 2. Introduce Beans Binding and do a demo of an application that uses it to learn the basics of this JSR. 3. Create an application which uses both JSRs to show how they can be reused in real-world applications. 4. Conclusion – what do we gain from these JSRs.

60 Summary 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 We'll continue with the second part of this presentation - Beans Binding.


Download ppt "Geertjan Wielenga http://blogs.sun.com/geertjan This presentation introduces Swing Application Framework and Beans Binding JSRs. These are two new JSRs."

Similar presentations


Ads by Google