Installing Basic Application Beans

 

Software Requirements

Basic Application Beans (BAB) require Java 1.1.  Java applications that use BAB require a Java 1.1-compatible Java Virtual Machine.  For browsers, use IE 4.0 or Netscape 4.0.5 or higher.  For Java builders, use VisualAge for Java 2.0 or JBuilder 2.0.

BAB has been tested in these environments:

Windows NT 4.0 with JDK 1.1.6
Swing 1.0.2

To install Basic Application Beans:

  1. Unzip bab100p.zip to a local directory of your choice.
  2. Import the baball.jar into your favorite Java builder, or to use BAB with the JDK, add bab.jar to your CLASSPATH environment variable.

Documentation is provided in the ZIP file. Open index.htm in your extract subdirectory.

To import the Basic Application Beans into VisualAge for Java:

  1. Select File - Import from the Workbench menu bar.  The SmartGuide Import panel displays. 
  2. Select Jar file and click Next.  The SmartGuide Import from a Jar/Zip file panel displays. 
  3. Click the Browse button next to the Filename field and select the baball.jar from the directory where you stored the jar. 
  4. With the baball.jar selected, clcik Open. You are returned to the SmartGuide Import from a Jar/Zip file panel.
  5. Check the class box.
  6. It is a good idea to set up a project that you use to import beans into VisualAge for Java. Enter the project name in the Project field.
  7. Click Finish.  The Modify Pallette panel displays.
  8. Select all of the com.ibm.bab beans in the Available beans pane and click the New Category button next to the Palette pane.
  9. Enter BAB as the new category and click Add to Category.   An information window appears as the beans are added.  
  10. Click OK.  You are returned to the Workbench panel.

To import the Basic Application Beans into JBuilder 2.0:

  1. Replace the swingall.jar in the lib directory with Swing 1.0.2 version of the swingall.jar.
  2. For JBuilder, add the bab.jar as one of the libraries for default projects.
  3. Select Tools - Default Project Properties.
  4. Click the Libraries button.
  5. Enter the name as bab.  The name needs to be bab so the sample projects will compile without errors.