title: Want to set more than one color to a method setBackgroundColor()
body: <p>I need one small advice on how to set more than one colour to a method setBackgroundColor, i managed to make more than one color but only if program randomly pick color but i want to set specific 4 or five colours,here is my part of the code:
  (so on selected object it changes color)</p>
  
  <pre><code>if (isSelected)
      style.setBackgroundColor (new Color ((float) Math.random(),
                                           (float) Math.random(),
                                           (float) Math.random()));
    else
      style.unsetBackgroundColor();
  </code></pre>