public final static SystemColor controlText;
public final static SystemColor controlLtHighlight;
public final static SystemColor controlHighlight;
public final static SystemColor controlShadow;
public final static SystemColor controlDkShadow;
public final static SystemColor inactiveControlText;
public final static SystemColor scrollbar;
public final static SystemColor info;
public final static SystemColor deskto;
public final static SystemColor activeCaption;
public final static SystemColor activeCaptionext;
public final static SystemColor activeCaptionBorer;
public final static SystemColor inactiveCaption;
public final static SystemColor inactiveCaptionText;
public final static SystemColor inactiveCaptionBorder;
public final static SystemColor window;
public final static SystemColor windowBorder;
public final static SystemColor infoText;
public final static SystemColor windowText;
public final static SystemColor menu;
public final static SystemColor menuext;
public final static SystemColor text;
public final static SystemColor textext;
public final static SystemColor textHiglight;
public final static SystemColor textHighlighText;
public final static SystemColor control;
In the following example, we are going to show most of the colours we show by using the set background colour of the frame. And we use a colour array[] for storing colours which are obtained by the previous methods.
In this program, we want to try to show most of the colour's id shown by cmd.
This is the initial output of the cmd and it shows all the colours which are stored in the colour array by using its fields.
These are various colours as backgrounds of the following frame used by the system; it's not all the colours of your system; it's just a Demo.