5. A Taste of Modularity

With the background basics of Swing covered, it’s time to explore the NetBeans Platform application architecture. In this chapter, you’ll learn how to build a modular application that uses the NetBeans Platform Window System and leverages NetBeans Platform techniques to keep modules loosely coupled.

What You Will Learn

• Understand the NetBeans module system.

• Create a NetBeans Platform application and add modules to it.

• Port a Swing application to the NetBeans Platform.

• Create windows for a NetBeans Platform application.

• Use Lookup to discover service providers.

• Use Lookup to share objects between modules.

5.1 Modular Architecture

Even though the applications in Chapter 2 are basic, they follow a loosely-coupled ...

Get JavaFX Rich Client Programming on the NetBeans Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.