Java Code Examples for com.jidesoft.swing.JideSplitPane#add()

The following examples show how to use com.jidesoft.swing.JideSplitPane#add() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: marathonv5   File:    License: Apache License 2.0 6 votes vote down vote up
private static JideSplitPane createSplitPane() {
    JTree tree = new JTree();
    JTable table = new JTable(new DefaultTableModel(10, 3));
    JList list = new JList(new Object[] { "A", "B", "C", "D", "E", "F", "G", "H", "I", }) {
        private static final long serialVersionUID = 1L;

        public Dimension getPreferredScrollableViewportSize() {
            Dimension size = super.getPreferredScrollableViewportSize();
            size.width = 100;
            return size;

    _jideSplitPane = new JideSplitPane(JideSplitPane.HORIZONTAL_SPLIT);
    _jideSplitPane.add(new JScrollPane(tree), JideBoxLayout.FLEXIBLE);
    _jideSplitPane.add(new JScrollPane(table), JideBoxLayout.VARY);
    _jideSplitPane.add(new JScrollPane(list), JideBoxLayout.FLEXIBLE);
    return _jideSplitPane;
Example 2
private JPanel createCentrePanel() {
    final JideSplitPane splitPane1V = new JideSplitPane(JideSplitPane.VERTICAL_SPLIT);

    aoiTable = new JTable();
    aoiTable.addMouseListener(new MouseAdapter() {

        public void mouseClicked(final MouseEvent e) {
            final int clickCount = e.getClickCount();
            if (clickCount == 2) {
            } else if (clickCount == 1) {
    splitPane1V.add(new JScrollPane(aoiTable));

    worldMapUI = new WorldMapUI();

    return splitPane1V;
Example 3
private JComponent createAggregatorsAndVariablesPanel() {
    JideSplitPane splitPane = new JideSplitPane(JideSplitPane.VERTICAL_SPLIT);
    splitPane.setProportions(new double[]{0.6});
    return splitPane;