public void actionPerformed(ActionEvent event) { JGrid grid = (JGrid) event.getSource(); grid.removeEditor(); grid.requestFocus(); }