JComponent () { myCenterPanel = new JPanel(new BorderLayout()); createParametersPanel(); final Splitter splitter = new Splitter(true); splitter.setShowDividerIcon(false); splitter.setFirstComponent(myCenterPanel); JPanel secondPanel = new JPanel(new BorderLayout(0, 5)); secondPanel.add(createSignaturePanel(), BorderLayout.CENTER); if (hasPreviewButton()) { JBLabel duplicatesCount = createDuplicatesCountLabel(); secondPanel.add(duplicatesCount, BorderLayout.SOUTH); } splitter.setSecondComponent(secondPanel); return splitter; }