C H A P T E R  18


You can display context-dependent panels with the Navigator window and the Navigator API. Typically, these panels are used by the NetBeans IDE editor for navigation in a document, for example,. Here, the constructors, methods, and additional elements of a Java class are displayed (see Figure 18-1). As a result, the user can navigate within the document. However, this is just one application case; the panels displayed in the navigator can be used for any purpose.


Figure 18-1. Navigator panel for a .java file

The Navigator API specifies the interfaces of a panel, which can be displayed in the navigator, by the interface ...

Get The Definitive Guide to NetBeans™ Platform 7 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.