Specifying Status Colors

The JavaTest harness allows you to specify the status colors used in the GUI. This property is set on the command line as a system property when starting the JavaTest GUI.

The user can specify each status color settings using system properties in the format:

-Dcolor.passed=color-value...

-Dcolor.failed=color-value...

-Dcolor.error=color-value...

-Dcolor.notrun=color-value...

-Dcolor.filter=color-value...

The color-value used must be a RGB value parsable by the java.awt.Color class (octal, decimal or hex). Values introduced this way are added to the user's preferences and restored in subsequent sessions.

Example:

java -Dcolor.passed=0066cc -jar [jt_dir/lib/]javatest.jar...