JComponent () { JPanel panel = JBUI.Panels.simplePanel(5, 5); final JPanel wrapper = new JPanel(); final BoxLayout boxLayout = new BoxLayout(wrapper, BoxLayout.Y_AXIS); wrapper.setLayout(boxLayout); final JLabel label = new JLabel(SvnBundle.message("label.ssh.server.provided.fingerprints", myHost)); wrapper.add(label); final JLabel label2 = new JLabel(SvnBundle.message("label.ssh.server.provided.fingerprints2", myAlgorithm)); wrapper.add(label2); final JTextField textField = new JTextField(myFingerprints); textField.setEditable(false); textField.setBorder(JBUI.Borders.empty(10, 0)); wrapper.add(textField); final JLabel label3 = new JLabel(SvnBundle.message("label.ssh.server.provided.fingerprints3")); label3.setBorder(JBUI.Borders.emptyBottom(5)); wrapper.add(label3); panel.add(wrapper, BorderLayout.CENTER); myJCheckBox = new JCheckBox(SvnBundle.message("checkbox.svn.ssh.cache.fingerprint")); myJCheckBox.setSelected(myStore); myJCheckBox.setEnabled(myStore); panel.add(myJCheckBox, BorderLayout.SOUTH); return panel; }