JComponent () { JPanel panel = new JPanel(new BorderLayout()); myMemberSelectionPanel = new MemberSelectionPanelBase<>(RefactoringBundle.message("members.to.be.pulled.up"), createMemberSelectionTable(myMemberInfos)); myMemberInfoModel = createMemberInfoModel(); myMemberInfoModel.memberInfoChanged(new MemberInfoChange<>(myMemberInfos)); myMemberSelectionPanel.getTable().setMemberInfoModel(myMemberInfoModel); myMemberSelectionPanel.getTable().addMemberInfoChangeListener(myMemberInfoModel); panel.add(myMemberSelectionPanel, BorderLayout.CENTER); addCustomElementsToCentralPanel(panel); updateMemberInfo(); return panel; }