How to change the color of the AM client in different environments.

Document ID : KB000088275
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
In Applications Manager v8.0 SP7 and above and in all v9 releases the AM client can be updated to display a different color to allow different clients from different environments (Production, Development, Testing) to use a unique color. In order to do that, follow the steps outlined below in Option 1 for each environment you want to change and set the theme color option in the Options.property file to a unique color for each unique environment.  This will support Aqua, Ruby and Emerald color themes.

In addition, you can use Option 2, to use the 'steel' theme in the client.jnlp file instead of java and the client will display a purple color scheme.  Using this option, you do not need to make any changes to the Options.property.
 
Resolution:
Option 1

1. Backup the $AW_HOME/web/Client.jnlp file
    cd $AW_HOME/web
    cp Client.jnlp Client_jnlp.orig
    
2. Edit the Client.jnlp file
    Change this line:
            <property name="jnlp.appworx.LookAndFeel" value="java"/>
    To:
            <property name="swing.metalTheme" value="ocean"/>
    Save the changes and exit the file.

3. Change directory to $AW_HOME/web/classes and backup the current Options.properties file
        cd $AW_HOME/web/classes
        cp Options.properties Options_properties.orig
        
4. Edit the Options.properties file
    Add  lines similar to these after the JdbcPortNumber entry.  The following 3 colors are known to work: Ruby, Aqua and Emerald.
    #
    #
    # Set theme to a different color: Ruby, Aqua or Emerald. 
    Theme=Aqua
    #
    #
    Save the changes and exit the file.

5. Log out of your client and log back in and the new color will be displayed.    

If you changed the Theme=Emerald, the login screen display would look similar to this:

0EMb0000001UaTT.png

Option 2

1. Backup the $AW_HOME/web/Client.jnlp file
    cd $AW_HOME/web
    cp Client.jnlp Client_jnlp.orig
    
2. Edit the Client.jnlp file
    Change this line:
            <property name="jnlp.appworx.LookAndFeel" value="java"/>
    To:
            <property name="swing.metalTheme" value="steel"/>
    Save the changes and exit the file.

3. Log out of your client and log back in and the new purple color will be displayed similar to this:
0EMb0000001UaTn.png