View pane

The view pane displays an HTML, XML, or an image viewer, depending on which type node is selected in the project pane. This viewer lets you see the rendered HTML or image file as you would see it in a web browser. When you view an image you can zoom in and out on the image and change the background color. The XML file is rendered using JBuilder's default style sheet which is a tree view. The XML viewer is a feature of JBuilder Professional and Enterprise.

To display the view page, select an HTML, XML, or image file in the project pane and click the View tab.

Viewing HTML files

When an HTML file is being viewed, the view pane becomes a simple browser. Navigate through your HTML files by clicking links in your HTML files and using the buttons on the view pane toolbar. Type any URL you want in the input box on the toolbar and press Enter to see the referenced page appear in the view pane.

Viewing XML files

To view XML files in the XML viewer, you need to enable the Enable Browser View option on the XML page of the IDE Options dialog box. When this is enabled, the XML file is displayed in a tree view using JBuilder's default XSL stylesheet. See "Viewing XML documents" in the XML Application Developer's Guide.

Viewing image files

The view pane has additional fields and controls when an image is selected in the project pane.

Image

Reports the actual size of the image in pixels.

Scale

This slider increases or decreases the size of the image in the viewer while reporting what percentage of the actual size the image is as it is being viewed.

Reset to 100%

Clicking this button returns the image to its actual size in the view pane.

Background

Displays a dialog box that allows you to change the background color of the view pane.