TableCellEditor (final Map.Entry<String, String> item) { final JTextField textField = new JTextField(); textField.setBorder(BorderFactory.createLineBorder(JBColor.BLACK)); return new DefaultCellEditor(textField); }