JComponent () { JPanel panel = new JPanel(new BorderLayout(5,5)); panel.add(new JLabel(SvnBundle.message("label.ssl.server.provided.certificate")), BorderLayout.NORTH); JTextArea area = new JTextArea(5, 50); area.setText(myCertificateInfo); area.setEditable(false); panel.add(ScrollPaneFactory.createScrollPane(area), BorderLayout.CENTER); return panel; }