Creating the Browser by Connecting the Beans |
Connect Browser Bean to Text Bean |
- Select the HotJava Browser Bean in the BeanBox. This displays a
black, dashed-line border around the selected bean.
- From The BeanBox menus, choose Edit->Bind property.
A Properties dialog opens.
- Select the documentString property.
- Click Ok.
- Move your mouse until you locate the red line extending fro the Browser
bean.
- Position the red line on the edge of the Text Bean and click.
- Select the text property.
- Click Ok.
|
Connect Text Bean to Browser Bean |
- Select the Text Bean in the BeanBox.
- Choose Edit->Bind property.
A dialog opens with the text property.
- Select the text property.
- Click Ok.
- Move your mouse until you locate the red line extending from the Text bean.
- Position the red line on the edge of the HotJavaBrowser Bean and click.
A dialog is displayed with the list of target properties.
- Select the documentString Property.
- Click Ok.
|
Connect Document Stack to Browser Bean |
- Select the HotJavaDocumentStack Bean in the BeanBox.
- Choose Edit->Events->Browser history commands->executeHistoryCommand.
- Move your mouse until you locate the red line.
- Position the red line on the edge of the HotJavaBrowser Bean and click.
- Select the executeHistoryCommand target method.
- Click Ok.
|
Connect Browser Bean Back to Document Stack |
- Select the HotJavaBrowser Bean in the BeanBox.
- Choose Edit->Events->Browser history commands->executeHistoryCommand.
- Move your mouse until you locate the red line.
- Position the red line on the edge of the HotJavaDocumentStack Bean and
click.
- Select the executeHistoryCommand target method.
- Click Ok.
|
Connect The Back Button |
- Select the Back Button.
- Choose Edit->Events->button push->actionPerformed.
- Move your mouse until you locate the red line.
- Position the red line on the edge of the HotJavaDocumentStack Bean.
- Select the previousDocument target method.
- Click Ok.
|
Connect the Forward Button. |
- Select the Forward Button.
- Choose Edit->Events->button push->actionPerformed.
- Move your mouse until you locate the red line.
- Position the red line on the edge of the HotJavaDocumentStack Bean.
- Select the nextDocument target method.
- Click Ok.
|
HotJavaSystemState Bean |
There are no connections required for the HotJava System State bean to work.
|
Authenticator Bean |
There are no connections required for the Authenticator bean to work.
|