setForeGround() actually needs a Color object in order to process. So, instead of providing it with the Color final fields, why don't you try saving the RGB values of colors in a collection and in...