title: JTable edit on keypress
body: <p>I am trying to programatically start editing third column of current row in a <code>JTable</code> on a keypress.</p>
  
  <p>I've implemented a KeyListener which in <code>keyReleased()</code> contains this code</p>
  
  <pre><code>if (e.getKeyCode() == KeyEvent.VK_ENTER)
  {
      myTab.changeSelection(myTab.getSelectedRow(), 2, true, false);
      myTab.editCellAt(myTab.getSelectedRow(), 2);
  }
  </code></pre>
  
  <p>When I release enter, the cell is indeed editable (I can type at the end), but there is no caret.</p>
  
  <p>When I click with mouse, behaviour is as expected (I can edit and carret is present).</p>
  
  <p>Also, I've noticed that on keyrelease, my celleditor is null, and on mouseclick it is not null.</p>
  
  <p>What am I doing wrong?</p>