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:
- Unzip bab100p.zip to a local directory of your choice.
- 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:
- Select File - Import from the Workbench menu bar. The SmartGuide
Import panel displays.
- Select Jar file and click Next. The SmartGuide
Import from a Jar/Zip file panel displays.
- Click the Browse button next to the Filename field and select the baball.jar
from the directory where you stored the jar.
- With the baball.jar selected, clcik Open. You are returned to the
SmartGuide Import from a Jar/Zip file panel.
- Check the class box.
- 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.
- Click Finish. The Modify Pallette panel displays.
- Select all of the com.ibm.bab beans in the Available beans pane and
click the New Category button next to the Palette pane.
- Enter BAB as the new category and click Add to Category.
An information window appears as the beans are added.
- Click OK. You are returned to the Workbench panel.
To import the Basic Application Beans into JBuilder 2.0:
- Replace the swingall.jar in the lib directory with Swing 1.0.2 version of the
swingall.jar.
- For JBuilder, add the bab.jar as one of the libraries for default projects.
- Select Tools - Default Project Properties.
- Click the Libraries button.
- Enter the name as bab. The name needs to be bab so the sample
projects will compile without errors.
