final JScrollPane scrollPane = new JScrollPane(myCommentArea);
scrollPane.setPreferredSize(myCommentArea.getPreferredSize());
add(scrollPane, BorderLayout.CENTER);
JComponent separator = SeparatorFactory.createSeparator(VcsBundle.message("label.commit.comment"), myCommentArea);
add(separator, BorderLayout.NORTH);
final TextComponentUndoProvider textComponentUndoProvider = new TextComponentUndoProvider(myCommentArea);
Disposer.register(this, textComponentUndoProvider);
}