Using Hi HelpIndex in the BDK BeanBox

Last modified: 12 February 1998.

This page gives instructions for using the Hi HelpIndex and Hi Brow beans in the JavaSoft Bean Development Kit (BDK) BeanBox test environment.

  1. Copy the Hi HelpIndex design-time developer beans (hi230d.jar and hibrw10d.jar) to the BDK jars directory, eg C:\BDK\jars\

  2. Start the BeanBox, eg:
    cd c:\BDK\BeanBox
    run

    Check that the HelpIndex and Brow beans appear in the Toolbox.

    Put HelpIndex into the BeanBox

  3. Choose the HelpIndex bean from the Toolbox and click somewhere in the middle of the BeanBox window.

    HelpIndex shows a message saying "You may evaluate Hi HelpIndex for 30 days". Click 'OK' to continue.

    A message saying "No 'index1' parameter/property..." will appear.

    Set HelpIndex's first index file

  4. With the HelpIndex bean still highlighted, select the "Properties - HelpIndex" window. A long list of HelpIndex's properties are shown, ready for editing.

    Move to the index property and click in the box where it says "0 indexes'.

  5. The IndexEditor appears. Click on the "Add" button

    The "Edit Index Parameter" dialog appears. Type "COM/phdcc/hi/bean.hi" into the 'Index URL' field.

    Click on 'OK' and then 'Done' in the IndexEditor.

  6. Select the BeanBox. "Hi HelpIndex bean" should appear in the HelpIndex Contents tab.
    You can now use HelpIndex.

    Put Hi Brow into the BeanBox

  7. Make the BeanBox window larger.
    Choose the Brow bean from the Toolbox and click somewhere to the right of HelpIndex.
    Expand Brow so it fills the rest of the space in the BeanBox window.

  8. The Hi Brow information web page appears in the Brow window.
    You may use Hi Brow like any other browser now.

    Set Hi HelpIndex syncedToBrowser property

  9. Select the HelpIndex bean, by clicking on its edge.
    Select the "Properties - HelpIndex" window.
    Find syncedToBrowser and select "True".

    Connect Hi HelpIndex to Hi Brow

  10. Either using properties
    Select the HelpIndex bean, by clicking on its edge
    Select menu "Edit+Bind property ..."
    In the 'Select Source Property' dialog, pick "displayPage" and press 'OK'.

    Click on the edge of the Brow bean.
    In the 'Select Target Property' dialog, pick "displayPage" and press 'OK'.

    or using events
    Select the HelpIndex bean, by clicking on its edge
    Select menu "Edit+Hi event+displayPage".

    Click on the edge of the Brow bean.
    In the 'Select Target Method' dialog, pick "displayPage" and press 'OK'.

    Connect Hi Brow to Hi HelpIndex

  11. Either using properties
    Select the Brow bean, by clicking on its edge
    Select menu "Edit+Bind property ..."
    In the 'Select Source Property' dialog, pick "displayPage" and press 'OK'.

    Click on the edge of the HelpIndex bean.
    In the 'Select Target Property' dialog, pick "displayPage" and press 'OK'.

    or using events
    Select the Brow bean, by clicking on its edge
    Select menu "Edit+Hi event+displayPage".

    Click on the edge of the HelpIndex bean.
    In the 'Select Target Method' dialog, pick "displayPage" and press 'OK'.

    Try it out

  12. In the HelpIndex Contents select "HelpIndex bean information".
    Click on 'Display page'.
    The HelpIndex information page should now appear in the Brow browser.

  13. Halfway down the HelpIndex web page there should be an underlined blue link for "Hi Brow". Click on this.
    The Brow information page should now appear in the browser again.
    The "Hi Brow browser bean" entry in the HelpIndex Contents should now be selected.

    Add a URL field for Hi Brow

  14. Make room above Brow.
    Select the TextBean bean in the Toolbox.
    Click somewhere above the Brow window.

  15. Select the Brow bean, by clicking on its edge
    Select menu "Edit+Bind property ..."
    In the 'Select Source Property' dialog, pick "displayPage" and press 'OK'.

    Click on the edge of the TextBean bean. In the 'Select Target Property' dialog, pick "text" and press 'OK'.

  16. Select the TextBean bean, by clicking on its edge
    Select menu "Edit+Bind property ..."
    In the 'Select Source Property' dialog, pick "text" and press 'OK'.

    Click on the edge of the Brow bean. In the 'Select Target Property' dialog, pick "displayPage" and press 'OK'.

    Try it out

  17. The URL of Hi Brow current page is displayed in the text field

    Type any valid URL into the text field and watch Hi Brow load the HTML page.

    Save this BeanBox configuration

  18. In the BeanBox, select menu "File+Save ..."
    Save in a file, eg "hi.ser".

    Finally, select menu "File+Clear".

    Load the BeanBox configuration

  19. In the BeanBox, select menu "File+Load ..."
    Choose your saved file, eg "hi.ser".
    Resize the BeanBox to show the beans if necessary.
    Hi Brow does not serialize itself properly.

HelpIndex    PHD