I would like to have the editor in my editable JTables select all text in the cell when starting to edit. I have tried a couple of things that all revolve around calling JT
public class SelectAllCellEditor extends DefaultCellEditor
{
public SelectAllCellEditor(final JTextField textField ) {
super( textField );
textField.addFocusListener( new FocusAdapter()
{
public void focusGained( final FocusEvent e )
{
textField.selectAll();
}
} );
}
}