February 2000
Intermediate to advanced
720 pages
15h 26m
English
This section provides a simple example of an applet for displaying entries and attributes in the sample directory on the CD-ROM that accompanies this book. This rudimentary example is presented here mainly to explain how to set up applets; more full-featured examples are provided in subsequent chapters of this book.
The DirBrowser class, a simple applet, uses a JTree component to display the entriesin the directory hierarchy and a JTextArea component to display the attributes of theselected entry. The JTree and JTextArea components are in a JSplitPane component.
Each node or leaf in the tree represents an LDAP entry in the directory. When the user selects a node, the applet ...
Read now
Unlock full access