C H A P T E R  18

Navigator

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.

Image

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