Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Adding Bean Components to the GUI Builder

Adding Bean Components to the GUI Builder


Adding Bean Components to the GUI Builder



Information in this Brief applies to:

Borland Together ControlCenter 6.0.x
Borland Together ControlCenter 6.1
All Supported Platforms



You can add custom bean components to any existing component category in the GUI builder, or add a new category with custom bean components. This can be done by selecting or creating a category and choosing a jar file that contains the components you want to use. Once added, you can change the appearance, behavior, or customize the component names and icons of each.


Creating the Component(s):

The user interface components are simply javabeans. The toolbox comes with a default set of standard AWT and Swing bean components. The custom bean component must extend one of the standard AWT and Swing components.

The component consists of 3 subcomponents:

  • The Component Bean class
  • It?s BeanInfo class
  • Manifest file
  • Any images/icons being used
  • Any additional classes/resources used by this component

You could also add a custom folder to the "Together/lib" directory and place your custom component jar files there. This will simplify organizing your components.

The components should be packed in jar files with a special format to make them recognizable by the UI Builder. Below is an example of the manifest file format:

Manifest-Version: 1.0

Name: com/togethersoft/modules/MyComponent/MyComponent.class

Java-Bean: True

Name: com/togethersoft/modules/MyComponent/MyComponentBeanInfo.class

Add a Component to a Category:

Select the desired category
Click the button labeled ?Add Beans to Category?
Click the browse button next to the Path to Jar field. In the file chooser dialog, select the jar file containing the components.
If any components in the bean component jar file require classes in other jar files in order to work correctly, use the Advanced mode of the dialog to add these archives.
Click OK to close the Add Beans dialog.

The component will now be ready for use.


Old KB# 26027


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 19:59
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.