Configuring SWT Theme
The UNICOM® Digital Transformation Toolkit (UDTT™) Rich Client supports SWT Theme configuration.
1 Specify your themes by extending the extension point.
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>
The theme changes as follows:
Go up to