JComponent () { JPanel panel = new JPanel(new BorderLayout()); final AbstractMemberSelectionPanel<Member, MemberInfo> memberSelectionPanel = createMemberInfoPanel(); panel.add(memberSelectionPanel, BorderLayout.CENTER); myMemberInfoModel = createMemberInfoModel(); myMemberInfoModel.memberInfoChanged(new MemberInfoChange<>(myMemberInfos)); memberSelectionPanel.getTable().setMemberInfoModel(myMemberInfoModel); memberSelectionPanel.getTable().addMemberInfoChangeListener(myMemberInfoModel); myJavaDocPanel = new DocCommentPanel(RefactoringBundle.message("push.down.javadoc.panel.title")); myJavaDocPanel.setPolicy(getDocCommentPolicy()); panel.add(myJavaDocPanel, BorderLayout.EAST); return panel; }