IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Configuring SWT Theme

About this task

BTT Rich Client supports SWT Theme configuration.

  1. Specify your themes by extending the extension point. Refer to BTT Rich Client Theme Configuration extension point description.
  2. After specifying the extension point, access theme manager to apply the theme to your SWT control: ThemeManager.applyTheme(Control control).

    If you use SWTWorkingAreaActivity to launch your SWT based applications, the theme is applied automatically.

    See the following example of extending an extension point:

     <extension
             point="com.ibm.btt.rcp.theme.settings">
          <settings
                default="true"
                id="smartbank.theme1"
                inputBackgroundColor="255,255,255"
                inputFont="Times New Roman,9,normal"
                inputForegroundColor="0,0,255"
                normalBackgroundColor="255,255,255"
                normalFont="Comic Sans MS,11,bold"
                normalForegroundColor="0,68,158"/>
       </extension>

    Then the theme changes as follows:

    screen capture of the changed theme



Feedback