O'Reilly logo

Rich Client Programming: Plugging into the NetBeans Platform by Geertjan Wielenga, Jaroslav Tulach, Tim Boudreau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter SevenThreading, Listener Patterns, and MIME Lookup

At this point we are going to take a break from reviewing APIs per se and write our first bit of IDE-like functionality. The “Pseudo Navigator” we will build in this chapter is quite like the actual Navigator component in the NetBeans IDE, but with a much simpler UI. It will demonstrate creating a modular API.

There are two significant differences between the way this is implemented and the way one would practically implement such functionality for use in the IDE: It does not use the Nodes API and makes minimal use of the Datasystems API. Both would be quite helpful. Their absence in this example should help to make clear what role they play.

In the process, we will introduce the Editor ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required