|
[Help | API Docs | Short Course | Magercises] There is no solution for this Magercise; simply use the skeleton-section archive to explore the HTML Browser Beans via the BeanBox. Magercise 12 Prerequisites Skeleton Code Tasks
Where help exists, the task numbers above are linked to the step-by-step help page. Demonstration After loading the JAR file for the browser Beans, icebrowserbean.jar, the Browser, Document, and ICEBrowser Beans should appear in the palette, from where they can be selected and instantiated on the worksheet. For example, instantiating the HTML Document Bean should produce the following in the worksheet:
The property sheet should appear as follows:
The HTML Document Bean is very general and is easily incorporated into other applications. The ICEBrowser Bean bundles document browsing with controls, plus it has a main() method allowing command-line invocation: java ice.htmlbrowser.ICEBrowser \ http://java.sun.com The application window includes a panel for controls as well as a document window:
Copyright © 1998-1999 MageLang Institute. All Rights Reserved. | ||||
|
| ||||||||||||