JPanel () { myCommitMessage = new CommitMessage(myProject, false, false, true); Disposer.register(getDisposable(), myCommitMessage); return simplePanel(myCommitMessage).addToTop(new JBLabel(message("label.commit.message"))); }