void (JPanel contentPane, JComponent component) { if (myAddDetailViewToEast) { JBSplitter splitPane = new JBSplitter(0.3f); splitPane.setSplitterProportionKey(getSplitterProportionKey()); splitPane.setFirstComponent(component); splitPane.setSecondComponent((JComponent)myDetailView); contentPane.add(splitPane, BorderLayout.CENTER); } else { super.addCenterComponentToContentPane(contentPane, component); } }