Viewing Javadoc

The JDT provides easy access to Javadoc information for the code edited in the Java editor.

1.

Open the Java editor on a Java file.

2.

Activate the editor by clicking its tab in the editor area.

3.

Make sure that the Show Text Hover button in the workbench toolbar is pressed (i.e., turned on).

4.

Place the mouse pointer over the element whose Javadoc information you want to view (e.g., the method name in a statement calling that method).

5.

If Javadoc information is available, then after a moment, a popup window appears and shows the Javadoc information.

HTML Javadoc can be viewed as any other resource in the workbench, through an embedded or external editor or viewer. Import the Javadoc into the workbench and double-click it in the Packages view.