Using the Help Viewer

All of the JBuilder documentation is available online. The following topics provide information on using the JBuilder online Help system.

How to get Help

There are several ways to get help on a topic when you are using JBuilder:

Main parts of the Help Viewer

The JBuilder Help Viewer includes

Navigating in the Help Viewer

To Do this...

Change books Click the down arrow in the Available Books list and select a book.
Go to a topic shown in the Table of Contents Click the topic title.
Find (search for) text in the current page Click the Find button . (Pressing Alt+F or F3 searches in the AppBrowser, not in the Help Viewer.)
Expand or collapse a section of the Table of Contents Click the + or - beside a topic on the Contents page.
Expand or collapse all sections of the Table of Contents Right-click in the Contents page and choose Expand All Topics or Collapse All Topics.
Follow a hypertext link underlined in the text Click the link in the text.
Return to the previous topic in the history list Click the Previous button .
Go to the next topic in the history list Click the Next button .
Go to the first topic in the history list Click the Home button .

Using the keyboard for scrolling

When you select an entry in the Contents, Book Index, or Master Index pages of the Help Viewer, the keyboard focus stays there. Navigation keys (such as PageDown) continue to scroll the left side of the Help Viewer rather than the Content pane on the right side.

To apply the navigation keys to the Content pane, do any of the following,

The line around the viewing area changes from light gray to black, indicating that you can use the navigation keys to scroll the right pane.

Searching for text in the current page

To find text in the current page of the Help Viewer, click the Find button in the Help Viewer. (Pressing Alt+F or F3 searches in the AppBrowser, not in the Help Viewer.)

Copying text from the Help Viewer

To copy selected text from Help Viewer, click the Copy button in the Help Viewer, rather than pressing Ctrl+C.

Selecting a topic from the Table of Contents

To choose a topic from the Table of Contents, you can

Selecting a topic from the Index

To look up a topic in the Book Index or the Master Index,

  1. Click the Book Index or Master Index tab at the bottom of the Help Viewer.
  2. In the text field below the book list, start typing the words to find.
    As you start typing, the index scrolls, doing an incremental search on the index entries to find the closest match.
  3. Double-click the index entry for the topic you want.
    If there is more than one topic for the selected index entry, the Topics Found dialog is displayed with the list of matching topics. Choose the topic you want and click Display.

To limit the word choice to a single book, select a book from the Available Books list and click the Book Index tab.

The Master Index currently includes the following books:

Check more than one index if you're doing a global search for a topic. For example, you could check:

See also:
Using the API Reference indexes

Viewing class reference documentation

You can view javadoc API Reference documentation for a class in the AppBrowser, the Help Viewer, or a web browser.

To display javadoc files in the AppBrowser, do one of the following:

In order for the class documentation to be found, the import statements at the top of your source file must point to the desired class. If you get a Java Symbol Not Found message, first go to a source file that imports the desired class.

To return to your source code, click the Project tab and click the Home icon in the upper left. To see the documentation again, click the Next icon.

To display API Reference files in the Help Viewer, do one of the following:

Looking for a category of classes
Suppose you want to find the reference pages for "formatter" classes or "matrix" classes, but don't know what package they are in. To look for a category of classes,

  1. In the Available Books list of the Help viewer, choose JBCL Reference or JDK Documentation.
  2. Choose the Class Hierarchy link at the top of the Content pane.
  3. Click the Find button in the upper left of the Help Viewer.
  4. Enter the category of class you want to find and press Find Next.

Using the API Reference indexes

The JBCL index can be viewed using the Book Index or Master Index pages of the Help Viewer, or as a javadoc-style HTML file by clicking the Index jump in the upper right of the JBCL high-level package pages.

The indexes which are delivered as regular HTML files are broken up per letter, for fast loading. Per-letter versions of HTML-based indexes are provided for the following online books:

In case you need to do a cross-alphabet search, a long plain-text version is also provided.

To look up a property in the index for the JBCL Reference book, see Looking up properties in the JBCL Reference.

The layout of the JBCL Reference pages

Each reference entry in the JBCL Reference shows not only the methods and fields (variables) that are defined within that class or interface, but also lists the ones inherited by that class or interface. You can easily see what methods and fields are available for that class or interface, not just those implemented within that class or interface. These lists of available methods and fields enable you to jump directly to the associated documentation.

The JBCL Reference page for a class or interface has the following sections:

Looking up properties in the JBCL Reference

Simple properties are listed in the Properties section of each file in the JBCL Reference book. A simple property is one where its write accessor ("setter"), if it has one, takes a single parameter and returns nothing. If it has a read accessor (prefaced with "get" or "is"), it takes no parameters and returns a value.

To look up simple properties in a class file, use the short property name without the "get", "set" or "is" prefix. For example, look for the "image" property in the properties section of the ButtonControl component for the following getter/setter pair of signatures:

getImage()
setImage(java.awt.Image)
To locate this property in the JBCL Reference Book Index, look for the index entry "image:ButtonControl component".

In many cases, methods exist that do not follow the rules for a simple property, but which also manipulate a property. Often, these additional methods supplement the functionality of corresponding simple properties. These are found in the Methods section in the class file, under the full method name where applicable. In the JBCL Reference Book Index, these methods are also included by their full names. The following example is a method from the ButtonControl component that falls in this category:

setImage(java.awt.Image, java.lang.String)
This method is found in the Methods section of the ButtonControl reference documentation file under setImage(java.awt.Image, java.lang.String). In the JBCL Reference Book Index, this method is indexed under "setImage:ButtonControl component".

See also:
Component Writer's Guide: Types of properties

Using a web browser to view JBuilder documentation

In addition to the Help Viewer, you can use a web browser to view the JBuilder documentation. The Table of Contents and Index do not appear in the web browser.

For most web browsers, you first need to use a zip utility such as WinZip (http://www.winzip.com/) to unzip the documentation files you want to view.

Unzipped file size:
Borland folder - 13.4 MB
Java folder - 16 MB
JGL folder - 3.5 MB
KLGroup folder - 5 MB

For the Borland documentation set, unzip the file jbuilder\doc\borland.zip as follows.

  1. Add \borland\ to the unzip directory path. The complete path will be:
    jbuilder\doc\borland\
  2. Make sure that you're starting from a directory lower than the jbuilder\doc\ directory.
  3. Unzip all files.

The process is similar for unzipping the java.zip and jgl.zip documentation files. For these, you need to add \java\ or \jgl\ to the path, rather than adding the \borland\ directory. This results in jbuilder\doc\java\ or jbuilder\doc\jgl\ as the starting point for unzipping.

A linked, ordered file list for the JBuilder documentation set is provided:

jbuilder\doc\borland\userguide\index.html

You can bookmark this page.

Adding entries to the Shortcuts page

To add a documentation page to the Shortcuts page that appears when you choose Help|Help Topics, you must know the destination URL, relative to the Shortcuts page. You can find this by unzipping the documentation set or looking in the documentation zip file, as above. Add the desired URL into the shortcuts file. The shortcuts file is: jbuilder\doc\borland\welcome\shortcuts.html

For example, you could add the lines:

<P>
<A HREF="../UserGuide/kclassic.html#classic debugger">Borland Classic keymapping for debugging</A><BR>
This example URL is constructed from the following main elements, which you need to determine for your desired topic:

If you have unzipped the documentation files, you can use a text search utility to quickly determine which HTML file contains the topic you are looking for.

When you leave the Shortcuts page and return to it again, the Shortcuts page is reloaded, showing your additional jump.

Most jumps to files on regular file servers are supported, such as the following example for a K: drive:

<P>
<A HREF="file:///K|/my documents/test/testfile.html#my topic">JBuilder Tips and Tricks</A><BR>

Items on the Help menu

The Help menu on the main window of JBuilder includes these commands:
Help Topics Opens the JBuilder Help system.
BeansExpress Opens the BeansExpress Help system.
Java Reference Shows the Sun JDK class reference files in the Help Viewer.
JBCL Reference Shows the Borland JBCL class reference documentation in the Help Viewer.
Borland Online Launches your default web browser and goes to the Borland Online web site.
Welcome Project (Sample) Displays the Welcome Project.
About Displays the About box.