void () { JBTable table = getTable(); if (!table.isEditing()) { int selectedRow = table.getSelectedRow(); int selectedColumn = table.getSelectedColumn(); if (selectedRow != -1 && selectedColumn != -1) { table.editCellAt(selectedRow, selectedColumn); } } }