title: Background colour of combo box cell editor
body: <p>I have been trying to find a solution for this for the past few days and its driving me crazy. I have a table in which I set the selection colour to yellow. I also set the background of the cell editor component to yellow so that the colour remains the same when the cell is being edited. I do that by overriding the prepareEditor method as such:</p>
  
  <pre><code> @Override
   public Component prepareEditor(TableCellEditor editor, int row, int col) {
        Component c = super.prepareEditor(editor, row, col);
        c.setBackground(Color.YELLOW);
        c.setFont(myFont);
        return c;
   }
  </code></pre>
  
  <p>This is working fine for all columns except for a column in which I assign a combo box as the cell editor. Once I start editing a cell in that column the background becomes white. The background colour in the popup menu is Yellow but the background colour in the selected value box remains white. I tried adding a focus listener to the combo box but all that I was able to do was change the background of the popup items and not the background of the selected item. I tried adding the focus listener to the combo box itself as such:</p>
  
  <pre><code> myComboBox.addFocusListener(new FocusListener() {//code here});
  </code></pre>
  
  <p>and to the editor component as such:</p>
  
  <pre><code>myComboBox.getEditor().getEditorComponent().addFocusListener(new FocusListener() {//code    here});
  </code></pre>
  
  <p>and none of these worked. Can someone please point out what Im doing wrong? Thanks.</p>