Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lessons learnt developing a NetBeans PDF viewer plugin in JavaFX Ernest Duodu Sylwia Kedzia.

Similar presentations


Presentation on theme: "Lessons learnt developing a NetBeans PDF viewer plugin in JavaFX Ernest Duodu Sylwia Kedzia."— Presentation transcript:

1 Lessons learnt developing a NetBeans PDF viewer plugin in JavaFX Ernest Duodu Sylwia Kedzia

2 us.getInfo()  Who are we?  What do we do?

3 Agenda  What is JavaFX?  JavaFX and Swing.  Why write a plugin for Netbeans?  Anatomy of a plugin.  Integrating JavaFX into Swing Applications.  Takeaways.  Questions and Answers.

4 JavaFX At the end of the day, on the one hand we have computer systems, and on the other, people, Connecting them together, and allowing people to interact with computer systems in a compelling way, requires graphical user interfaces. Christopher Oliver Creator of F3 https://blogs.oracle.com/chrisoliver/entry/epitaph

5 Key features of JavaFX?  Two way integration with Swing.  3D graphics.  WebView API.  Node structure of JavaFX vs the flat structure of Swing.

6 Why JavaFX?  CSS Support.  FXML and Scene Builder.  Supports Visual and Audio Media.  Better Looking GUI.  2D and 3D Transformations.  Visual Effects.  Easy to Develop.

7 Why write a plugin for NetBeans?  NetBeans is very a Modular IDE.  Plugin based development environment.  Has lots of useful and tested code.  Generate most codes for you.

8 What's needed in order to create a Plugin?  Development Environment “NetBeans”.  Testing and Debugging Environment “NetBeans”.  Deployment “NetBeans”.

9 Key Takeaways on JavaFX:  Use the latest version of Java.  Use CSS very similar to HTML.  Download the Scene Builder.  Platform.setImplicitExit(false);.  Remember to run FX code in FX application. Thread(Platform.runLater)

10 5 tips for writing NetBeans Plug-ins  Use the NetBeans built -in menu wizards to write your plugin (huge time saver).  You can build whole apps on NetBeans platform (not just plugins).  Use the Module Suite to break your plugins into small, functional units.  There is some really good ebooks on NetBeans. Recommend 'NetBeans for beginners'.  Put your plugin on NetBeans portal and also look at other plugins there.

11 Questions and Answers Download source code from https://www.dropbox.com/s/vfk900lnjhkzwup/JavaOnePlugin.zip?dl=0

12 Come talk to us @ Stand 5714 For More NetBeans and JavaFx stuff read our blog @ blog.idrsolutions.com


Download ppt "Lessons learnt developing a NetBeans PDF viewer plugin in JavaFX Ernest Duodu Sylwia Kedzia."

Similar presentations


Ads by Google