title: How to set a background color of a list in j2me
body: <p>I'm new in J2ME and I'd like to know how to make the background of my list to a color like grey and text into a color like black? The tutorials I'm getting are too complex for a beginner, I was wondering whether you guys might care to help.</p>
  
  <p>Here is my code.</p>
  
  <pre><code>import javax.microedition.midlet.*;
  import javax.microedition.lcdui.*;
  
  public class ExclusiveChoiceList extends MIDlet{
      private Display display;
      private List list;
  
      public ExclusiveChoiceList() {
        list = new List("Books", Choice.EXCLUSIVE);
      }
  
  public void startApp(){
  display = Display.getDisplay(this);
  list.append("PHP", null);
  list.append("MySQL", null);
  list.append("JAVA", null);
  list.append("VB.net", null);
  list.append("Javascript", null);
  display.setCurrent(list);
  }
  public void pauseApp() {}
  public void destroyApp(boolean unconditional){
  notifyDestroyed();
  }
  }
  </code></pre>