private void initLayout() { setLayout(new BorderLayout()); getContentPane().add(status, NORTH); getContentPane().add(buttonPanel, SOUTH); JSplitPane splitPanel = new JSplitPane( JSplitPane.HORIZONTAL_SPLIT, new JScrollPane(plugins), new JScrollPane(description)); splitPanel.setDividerLocation( InterfaceConfig.SELECTION_FRAME_PROPERTIES.getInt("divider-location")); getContentPane().add(splitPanel, CENTER); }
public SelectionFrame() { super(InterfaceConfig.SELECTION_FRAME_PROPERTIES.getString("title")); setDefaultCloseOperation(EXIT_ON_CLOSE); initSize(); initButtonPanel(); initLayout(); initPlugins(); description.setEditable(false); pack(); }