Integrating JWidgets into Symantec Visual Cafe version 2.0

Article ID: 797
Last updated: 05 Feb, 2008
Article ID: 797
Last updated: 05 Feb, 2008
Revision: 1
Views: 2877
Posted: 12 Mar, 1998
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


How can I integrate JWidgets into Symantec Visual Cafe 2.0?


Action


To integrate JWidgets components into Visual Cafe 2.0, do the following:

  1. Start the Visual Cafe IDE and select Window|Component Library from the main menu bar. This will display the Component Library window.

     

     

     

  2. Open a Windows Explorer window and browse to the JWidgets installation directory.

  3. From the JWidgets3_0jarsdesign directory, select any of the available .jar files (CellGridBean.jar for this example).

  4. Click and drag the selected .jar files from the Windows Explorer window to the Component Library window. Drop the file into the open space below the last component entry in the window.

    The bean within the jar file will be processed by Visual Cafe and placed into the Component Library display as shown below.

     

     

  5. If you are importing several components and wish to combine them in a single folder and palette tab, skip this step and see the procedure below.

    If you wish to add a bean individually to the component palette, do the following:

    • Click the right mouse button on the JWidgets component item in the Component Library window. A floating menu will appear.

       

       

    • Select Add to Palette from the floating menu.

    A CellGridBean tab containing the component will be added to the component palette.

     

     

Combining imported components into a single folder and tab

You may well prefer to have all of the JWidget components in a single folder, and displayed on the palette as a single tab. Unfortunately, to accomplish this, you must first import each component separately as described above. Then do the following:

  1. Create a JWidgets folder:

    • Click the right mouse button on the Component Library window.

    • Select Insert Group from the floating menu.

    • Name the resulting folder JWidgets as shown.

       

       

  2. Drag the components from the individual folders into the JWidgets folder, as shown below.

     

     

  3. To delete the now emptly individual component folders, select each folder and then select Edit|Delete from the menu bar.

    When you are done, you should have only a JWidgets folder with all of the JWidgets components.

     

     

  4. To create a JWidgets tab on the component palette, click the right mouse button on the JWidgets folder in the Component Library window. A floating menu will appear on the window. Select Add to Palette from the floating menu.

     

     

    A JWidgets tab containing all of the JWidgets components will be added to the component palette.

     

     

This article was:   Helpful | Not helpful
Report an issue
Article ID: 797
Last updated: 05 Feb, 2008
Revision: 1
Views: 2877
Posted: 12 Mar, 1998 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category