If you are developing JavaTM applications,
applets, or composite JavaBeansTM, Taligent's
WebRunner Beans can help you become productive very quickly. These Beans
are part of the WebRunner Toolkit, which also includes other sets of starter
beans and and tools for creating and working with JavaBeans. This package
includes the Widget Beans, which provide common widgets you can use to
enhance your Beans' user interfaces.
The WebRunner Widget Beans include:
-
MultiColumnListbox Bean, which lets
you easily add multi-column list boxes to your applets and applications.WebRunner
MultiColumnListbox Bean columns are resizable by your users and can be
sorted using any sorting algorithm you want. In addition, you can set specific
colors for each column, and even insert graphical elements anywhere within
the listbox.
-
ProgressBar Bean lets you add progress
indicators to your applets and applications. The ProgressBar widget displays
a moving progress bar in a variety of styles.
The WebRunner Widget Beans are part of a larger set of User Interface beans.
For more information, see the documentation for the MultiColumnListbox
or ProgressBar Beans installed with
the product. Updates to the documentation will periodically be available
at the Taligent
website.
Installation Instructions
For installation of the UI Beans on Windows platforms,
-
WebRunner UI Beans Installation for JDK 1.1.1
-
Unzip the file ui110.zip ( or ui110e.zip for evaluation product).
-
Extract all the files contained in the ZIP file, to a local directory
of your choice.
-
Depending upon the beans that you want to use, extract either the chrt110(e).zip
and/or the wgt110(e).zip to a local directory of your choice.
-
Depending upon the beans that you want to use, import the necessary JAR
files into your favorite Bean builder:
-
For the Chart Bean, you would need to import the chart.jar and beanfw.jar,
that are packaged in chrt110(e).zip.
-
For the UI Widget Beans, you would need to import awidgets.jar,
that is packaged in the wgt110(e).zip file.
-
The documentation for all the beans is provided in the respective ZIP files.
-
WebRunner UI Beans Installation for use with VisualAge for Java (VAJ)
Version 1.0
-
Unzip the ui110(e).zip file, and extract the chrt110(e).zip
and wgt110(e).zip files from this file to a directory of your choice
on your local drive.
-
Unzip the chrt110(e).zip and the wgt110(e).zip files, and
extract all the files contained in these, to directory(ies) of your choice.
-
Importing the extracted files into VisualAge for Java:
-
Launch your 's VisualAge for Java's Integrated
Development Environment (IDE).
-
From the File menu, choose the Import menu item.
-
A SmartGuide Import dialog box appears.
-
Type in a new Project name, or browse and select an existing Project name
that you want the UI Beans package to be added to.
-
Click on the JAR file option then click on the Next button
-
Click on the Browse button, browse to the directory where
you extracted the files from the chrt110(e).zip file and choose
all the files with the JAR extension. There should be two JAR files: chart.jar
and beanfw.jar.
-
Repeat the same and select the awidgets.jar file from wherever you
had extracted it out.
-
Select the JAR files which now show up in the list of JAR files
in the Smart Guide dialog, and click on the Finish button to import
them into VisualAge for Java.
Back in the Workbench of VisualAge for Java, you should now see the
complete set of UI Beans, which consist of the Chart Beans, and the
UI Widget Beans, and all the classes they need, under the Project
name that you had specified during the Import process.
Supported Platforms
The current release of WebRunner Widget Beans has been tested for use with
the JDK1.1.1 available on WindowsNT and Windows95.
Releases on other platforms will be supported in the near future, depending
on the availability of stable releases of the
JDK1.1.1 on those platforms.
Known Problems
Importing the UI Beans into VisualAge for Java on OS/2
While importing the awidgets.jar into the VisualAge for Java workspace on
OS/2, you might see two exceptions, in the Console window of VisualAge for
Java, that resemble the following (the name of the Workbench project that you are trying to
import the JAR files under, will appear in place of "UI Beans" here) :
java.io.IOException: ..\project_resources\UI Beans\COM\: could not create directory
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
java.io.IOException(java.lang.String)
void sun.tools.jar.Main.extractFile(java.util.zip.ZipInputStream, java.util.zip.ZipEntry)
void sun.tools.jar.Main.extract(java.io.InputStream, java.lang.String [])
boolean sun.tools.jar.Main.run(java.lang.String [])
java.io.PrintStream sun.tools.jar.Main.getFiles(java.lang.String, java.lang.String)
These exceptions can be ignored, and do not affect the import process. All
the beans' classes thus imported, function normally.
Using the WebRunner MultiColumnListBox Bean inside VisualAge for
Java
This is a problem known to occur when using the WebRunner MultiColumnListBox
Bean inside VisualAge for Java, although it does not seem to affect
the functioning of this bean. This problem is not seen when the bean is
used in other Bean Tools, such as, the WebRunner Bean Tester.
-
While using the MultiColumn ListBox Bean inside the Visual Composition
Editor for VisualAge for Java, when the Bean Customizer dialog
for the bean is displayed, the following exceptions are seen in the Console
window of VisualAge for Java:
CustomizerDialog: Unexpected getter error : java.lang.NullPointerException
CustomizerDialog: Unexpected getter error : java.lang.NullPointerException
CustomizerDialog: Unexpected getter error : java.lang.NullPointerException
CustomizerDialog: Unexpected getter error : java.lang.NullPointerException
CustomizerDialog: Unexpected getter error : java.lang.NullPointerException
However, the functioning of the bean is not affected by these exceptions.
|