title: JTable - compound editor focus
body: <p>I have a custom editor composed of several components. Something like:</p>
  
  <pre><code>class MyCellEditor extends AbstractCellEditor implements TableCellEditor {
      JTextArea textArea;
      JButton button;
      JPanel panel;
  
      MyCellEditor() {
          textArea = new JTextArea();
          button = new JButton();
          panel = new JPanel(new BorderLayout());
          panel.add(textArea, BorderLayout.CENTER);
          panel.add(button, BorderLayout.EAST);
      }
  
      public Component getTableCellEditorComponent(JTable table, Object value,
              boolean isSelected, int row, int column) {
          textArea.setText((String) value);
          return panel;
      }
  
      public Object getCellEditorValue() {
          return textArea.getText();
      }
  }
  </code></pre>
  
  <p>I want the inner <code>textArea</code> to grab focus when editing starts. It works just fine when I click the cell, but not when I navigate the table with keyboard and start typing in this cell.</p>
  
  <p>How can I fix this?</p>