image/svg+xml
MFG160 - ComTrader Colour Theme
M7 Release 6.20.205
Date 12.01.2026
Author M7 Project Team
Reviewer M7 Project Manager

Deutsche Börse AG

Mailing address
Mergenthaleralle 61
65760 Eschborn

Web
www.deutsche-boerse.de

Chairman of the Supervisory Board
Martin Jetter

Executive Board
Theodor Weimer (Chief Executive Officer)
Christoph Böhm (Chief Information Officer / Chief Operating Officer)
Thomas Book (Trading & Clearing)
Heike Eckert (HR (Director of Labour Relations) & Compliance)
Stephan Leithner (Responsible for Pre- & Post-Trading)
Gregor Pottmeyer (Chief Financial Officer)

German stock corporation registered in
Frankfurt/Main
HRB No. 32232
Local court: Frankfurt/Main

Disclaimer

©2024 Deutsche Boerse AG - All rights reserved. The information contained in this document is confidential or protected by law. Any unauthorized copying of this document or part of it or unauthorized distribution of the information contained herein is prohibited. All materials provided by DB in this context are and remain the intellectual property of DB and all rights therein are reserved.

Abbreviations

Abbreviation Meaning
BOM Byte Order Mark
CSS Cascading Style Sheets
DBAG Deutsche Börse AG
JavaFX Java Software Platform
OTC Over The Counter
UTF Unicode Transformation Format

1 Introduction

1.1 About this Document

This document contains a description of the process to change the colour theme used in ComTrader which is provided by Deutsche Börse AG (DBAG). It is intended as a manual for customers who are interested in modifying the resource file. Together with this document, DBAG also provides a resource CSS file which can be modified to the desired appearance and subsequently sent back to DBAG, who will integrate it into the standard ComTrader configuration.

2 Resource file

To change the ComTrader colour theme the provided resource file needs to be modified. The resource file is a Cascading Style Sheets (CSS) document encoded in UTF-8 (the presence of a byte order mark (BOM) is not supported) with only two columns separated by an equals sign (i.e. =) separator. The first column contains the resource keys used in ComTrader (these resource keys must remain unchanged). The second column contains resource values which relate to the corresponding resource keys in the first column (these resource values can be changed). The resource keys are also separated into groups according to their general expression (e.g. table-view, diagram, contractTreeContainer, buy, sell, etc.), which influence the specific area in ComTrader. Unique resource keys are included in “Other expressions”, see section Other Expressions.

The mark sign /* denotes the start of an informative note text block which only has an informative purpose. The end of this text block is determined by the */ mark sign. Notes can be arbitrarily added to the resource file. Blank lines in the file have no meaning. Notes and blank lines are skipped by the resource parser.

Note that:

The following picture describes the content of provided resource style file. The resource values in the second column can be changed.

The following sections describe the functionality of the resource keys contained in the particular general expression group as well as unique resource keys.

2.1 General expressions

Several resource keys which are related to the particular area are grouped according to their general expression. For example, the general expression modal-dialog contains three modal-dialog resource keys (modal-dialog-background-color, modal-dialog-text-color and modal-dialog-background-color-abnormal-order). Specific colours or images can be assigned to the resource key. The assigned colour can be written in several formats which are treated similarly by the resource parser:

The impact of the changes in the assigned resource values are described in the following sections.

2.1.1 base

The visual appearance of the Settings window can be modified using the base resource values.

The colour of highlighted area in the picture above can be changed using the listed resource key with the same highlighted colour.

2.1.2 secondary-window

The visual appearance of the Settings window can be modified using the secondary-window resource values.

The following picture portrays the original appearance of the Settings window with the possible changes using secondary-window resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource key with the same highlighted colour.

2.1.3 flash-effect

A blinking effect which is based on market changes can be performed whenever ComTrader receives an update of some data from the back-end. This action can trigger the blinking behaviour if it is supported by the corresponding panel which receives the updated data. The blinking behaviour is supported for the Market Overview, Market Details, Order Book Details and Message panels for example. The colour of the blinking behaviour can be modified using flash-effect resource value.

2.1.4 table-view

The visual appearance of all tables can be modified using the table-view resource values.

The following picture describes the original appearance of the Trading window along with the possible changes using table-view resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

2.1.5 diagram

The visual appearance of the Chart panel can be modified using the diagram resource values.

The following picture describes the original appearance of the Chart panel with possible changes using the diagram resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

2.1.6 dark-panel

The visual appearance of the Slide in toolbars, footers, and buttons can be modified using the dark-panel resource values.

The following picture describes the original appearance of the Trading window with possible changes using the dark-panel resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

2.1.7 contractTreeContainer

The visual appearance of the Instrument selection panel can be modified using the contractTreeContainer resource values.

The following picture describes the original appearance of the Trading window along with the possible changes using contractTreeContainer resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

2.1.8 buy

The visual appearance of the Order Entry panel’s buy side can be modified using the buy resource values.

The following picture describes the original appearance of the Floating Order Entry panel (Buy side) along with the possible changes using the buy resource values.

The colour of highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

2.1.9 sell

The visual appearance of the Order Entry panel’s sell side can be modified using the sell resource values.

The following picture describes the original appearance of the Floating Order Entry (Sell side) panel along with the possible changes using the sell resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

2.1.10 extended-orderbook

The visual appearance of the (Floating) Order Book Details and Market Details panels can be modified using extended-orderbook resource values.

The following picture describes the original appearance of the Floating Order Book Details and Market Details panels with the possible changes using the extended-orderbook resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

2.1.11 orderbook

The visual appearance of the (Floating) Order Book Details, Market Details and Market Overview panels can be modified using the orderbook resource keys.

2.1.12 main-panel

The visual appearance of the Status-bar can be modified using main-panel resource values.

The following picture describes the original appearance of the Status-bar with the possible changes using the main-panel resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

The visual appearance of the panels’ headers in the trading window can be modified using the menu-bar resource values.

The following picture describes the original appearance of the Trading window with the possible changes using the menu-bar resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

The visual appearance of the modal windows can be modified using the modal-dialog resource values.

The following picture describes the original appearance of the “Deactivate All” Modal window with all of the possible changes using the modal-dialog resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

2.1.15 slide-down-pane

The visual appearance of the Slider in the toolbars can be modified using the slide-down-pane resource values.

The following picture describes the original appearance of the Slider in the toolbars, along with the possible changes using the slide-down-pane resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource key with the same highlighted colour.

2.1.16 order-entry

The visual appearance of the (Floating) Order Entry panel can be modified using the order-entry resource values.

The following picture describes the original appearance of the floating Order Entry panel along with the possible changes using the order-entry resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

2.1.17 panel

The visual appearance of the bottom bars related to all of the panels can be modified using the panel resource values.

The following picture describes the original appearance of the Trading window along with the possible changes using the panel resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

2.1.18 login

The visual appearance of the Login window can be modified using the login resource values.

The following picture describes the original appearance of the Login window along with the possible changes using the login resource values.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

2.2 Other expressions

The visual appearance of ComTrader can be modified by the following resource keys which are dedicated for only one purpose.

The following picture describes the original appearance of the Trading window along with the possible changes using the above-mentioned resource keys.

The colour of the highlighted area in the picture above can be changed using the listed resource keys with the same highlighted colour.

3 Loading the resource file to ComTrader

The colour theme used in ComTrader can be chosen in the ComTrader settings menu. The settings menu can be opened by selecting the option “Settings” from the “General” menu of the Trading or Login windows (after a user is logged in). All settings are stored on a profile server.

The following picture describes the first tab of the ComTrader Settings window.

The first “General” tab contains several options including the field “Colour theme”, which allows you to change the colour theme in the GUI. If the required colour theme is not included in this field, the user can click on the “Load Custom Theme” label. This action opens a file selection window for selecting the desired modified resource file with the suffix *.css. This underlying resource file has to be the UTF-8 text document (presence of BOM is not supported).

After the modified resource file (see Resource file chapter) is loaded, the “Colour theme” field is automatically changed to the filename of the corresponding loaded resource file. When the “Ok” button is clicked, the custom theme is used, and the user profile is saved. When the “Apply” button is clicked, the change is applied without closing the settings window.

Note that the presence of Load Custom Theme option is limited to testing/development purposes and depends on the specific environment.


  1. http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html#typepaint