JComponent () { JPanel panel = new JPanel(); panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS)); panel.add(new JLabel(JavaRefactoringBundle.message("there.are.unused.methods.that.override.methods.you.delete"))); panel.add(new JLabel(JavaRefactoringBundle.message("choose.the.ones.you.want.to.be.deleted"))); return panel; }