Component (JTable table, Object value, boolean isSelected, int row, int column) { final EditorTextField editorTextField = new EditorTextField((String) value, myProject, StdFileTypes.JAVA) { @Override protected boolean shouldHaveBorder() { return false; } }; myDocument = editorTextField.getDocument(); for (DocumentListener listener : myListeners) { editorTextField.addDocumentListener(listener); } return editorTextField; }