Component c = argTable.getEditorComponent(); if (c != null) if (c instanceof JTextField) { int rowIndex = argTable.getEditingRow(); int colIndex = argTable.getEditingColumn(); if (rowIndex != -1 && colIndex != -1) argTable.getModel().setValueAt(((JTextField)c).getText(), rowIndex, colIndex); } else System.out.println("Unexpected editor class: " + c.getClass());
      public void actionPerformed(ActionEvent e) {        setVisible(false);      }