getting started with the netbeans platform
play

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


  1. Getting Started with the NetBeans Platform Geertjan Wielenga http://blogs.sun.com/geertjan

  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 2

  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 3

  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 4

  5. NetBeans Platform 5

  6. Nuance Voice-XML 6

  7. Fiorano Studio 7

  8. Nokia: Mobile Network 8

  9. Sketsa SVG Editor 9

  10. VisualVM 10

  11. AIOTrade 11

  12. NetBeans IDE 12

  13. JCae-CAD 13

  14. MC4J JMX Console 14

  15. JFugue Music Notepad 15

  16. StudioSL: Oil Flow 16

  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 17

  18. Maybe this is your code: 18

  19. Maybe this is you: 19

  20. This should be you... domain expert knowledge 20

  21. Application “Plumbing” ● Windowing/docking system ● Archictecture ● Lifecycle management ● Persistence ● Data management ● Consistent look & feel ● Distribution/update mechanism 21

  22. Demo 22

  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 23

  24. Javadoc 24

  25. Libraries ● Window System API ● Actions API ● Options Window API ● Many Editor APIs ● Visual Library API ● ...and many more 25

  26. Ways to get started ● Javadoc ● Tutorials ● Samples ● Blog entries Tip: Use them outside the NetBeans Platform 26

  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 27

  28. In addition to... ● JLabel ● JTextField ● JTextArea ● JTable ● ...etc... 28

  29. TreeTableView 29

  30. Visual Widgets 30

  31. More Visual Widgets 31

  32. More Visual Widgets 32

  33. Drop Down Button Factory 33

  34. Tabbed Pane Factory 34

  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 35

  36. Project wizards 36

  37. NetBeans Platform 37

  38. Outline view 38

  39. Project wizards 39

  40. File wizards 40

  41. File wizards ● Actions API ● Datasystems API ● Module Install class ● Options Dialog API ● TopComponent class ● Wizard Descriptor class 41

  42. Configuration 42

  43. Editor 43

  44. While developing... ...enhance the IDE 44

  45. Dependencies 45

  46. Dependencies 46

  47. Contextual menus 47

  48. Contextual menus 48

  49. Samples 49

  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 50

  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. 51

  52. Demo 52

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

  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 54

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

  56. 56

  57. 57

  58. 58

  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/ 59

  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 60

Recommend


More recommend