6. JavaFX Integration
In this chapter, we’ll explore how to use JavaFX within a NetBeans Platform application. We’ll first create a basic one-window NetBeans Platform application with JavaFX content. This will show you the minimum steps required to add JavaFX to your NetBeans Platform application.
Next, we’ll port a JavaFX program from Chapter 4. We’ll show you how to structure a multi-window NetBeans Platform application that follows the guidelines discussed in Chapter 5, taking advantage of the same NetBeans Platform features. This includes modularizing your application, using service providers, creating modules with public packages, and relying on Lookups and change events to keep your application loosely coupled. The discussion of this example ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access