Project Notes


Project: dbSwing: JdbNavTree and JdbEditorPane Sample
Author: JBuilder Team
Company: borland.com
Description:
This sample shows how to build a simple help viewer for a JBuilder application. The help dialog displays an outline of help topics in a JdbNavTree. When a topic is selected, it is displayed in a JdbEditorPane.

What this sample demonstrates:

Loading and using a data-aware dbSwing tree component

Using a JdbEditorPane to display HTML pages

We have used the documentation that would usually be here as the content of the help system that this application demonstrates. Please run the application to read how it does what it does.

Setup:

This sample expects JBuilder to be installed in a directory called JBuilder3 at the root of any drive. If you have installed to another directory, the application will run if you change the variable named "path" in HtmlViewerHelpDialog.java appropriately. However, hyperlinks in its HTML pages will not work because their expected path is hard-coded in them. The application is useable without links because you can reach any HTML page by selecting it from the tree. The HTML pages are in samples/dbSwing/HtmlViewer/data.