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