title: JTable: How to make a JComboBox cell renderer bigger than the rendered cell?
body: <p>I am using this <code>JTable</code> method to create a Cell with a JComboBox as their rendered appearance. </p>
  
  <pre><code>public void addComboBoxToColumn(String[] options, int column_index){
      ComboTableCellRenderer renderer = new ComboTableCellRenderer();
      JComboBox&lt;String&gt; combo = new JComboBox&lt;String&gt;(options);
      TableCellEditor combo_editor  = new DefaultCellEditor(combo);
      TableColumn column = getColumnModel().getColumn(column_index);
      column.setCellRenderer(renderer);
      column.setCellEditor(combo_editor);     
  }
  </code></pre>
  
  <p>...</p>
  
  <pre><code>public class ComboTableCellRenderer implements ListCellRenderer, TableCellRenderer 
  {
      DefaultListCellRenderer listRenderer = new DefaultListCellRenderer();
      DefaultTableCellRenderer tableRenderer = new DefaultTableCellRenderer();
  
      private void configureRenderer(JLabel renderer, Object value)
      {
          if (value != null)
              renderer.setText((String)value);
      }
  
      public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
      {
          listRenderer = (DefaultListCellRenderer)listRenderer.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
          configureRenderer(listRenderer, value);
          return listRenderer;
      }
  
      public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
      {
          tableRenderer = (DefaultTableCellRenderer)tableRenderer.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
          configureRenderer(tableRenderer, value);
          return tableRenderer;
      }
  
  }
  </code></pre>
  
  <p>My problem is that the combobox is always the size of the cell. I do not want that. Is it possible to make the combo box bigger? Some options in the combobox are too big and are half-hidden. </p>