private static final CompoundBorder BUTTON_BORDER = new CompoundBorder(BUTTON_OUTSIDE_BORDER, new CompoundBorder(BUTTON_LINE_BORDER, BUTTON_INSIDE_BORDER));
public DatasetTableCellEditorWithTextEditor(DatasetEditorTable table) {
super(table, createTextField(table.getDataset().getProject()));
TextFieldWithTextEditor editorComponent = getEditorComponent();
JTextField textField = editorComponent.getTextField();
textField.setBorder(new EmptyBorder(EMPTY_INSETS));
JLabel button = editorComponent.getButton();
button.setBackground(textField.getBackground());
button.setBorder(BUTTON_BORDER);
}