Developing a business component

To develop a business component with user name and user password, do the following:
  1. Create a new SWT Composite.
    1. Right-click the project, and select New > Visual Class.
    2. In the dialog box that pops up, enter UserComposite in the Name field.
    3. In the Style box, expand SWT, and select Composite.

      Screen capture showing the New Java Visual Class

    4. Click Finish.
  2. Drag and drop the BTTText and BTTPasswordText in the Palette, and fabric a composite as follows.

    Screen capture of a composite

This composite can be reused anywhere. For more information about reusing the composite, see Integrating the business component into other transaction panels.