JComponent () { fieldNameLabel.setEditable(false); final JPanel sourceClassPanel = new JPanel(new BorderLayout()); sourceClassPanel.add(new JLabel(JavaRareRefactoringsBundle.message("delegating.field")), BorderLayout.NORTH); sourceClassPanel.add(fieldNameLabel, BorderLayout.CENTER); return sourceClassPanel; }