Java JSplitPane standardJSplitPane(final JSplitPane splitPane)

Here you can find the source of standardJSplitPane(final JSplitPane splitPane)

Description

standard J Split Pane

License

Apache License

Declaration

public static void standardJSplitPane(final JSplitPane splitPane) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import javax.swing.BorderFactory;

import javax.swing.JSplitPane;

public class Main {
    public static void standardJSplitPane(final JSplitPane splitPane) {
        splitPane.setDividerLocation(0.5);
        splitPane.setBorder(BorderFactory.createEmptyBorder());
        splitPane.setOneTouchExpandable(true);
        splitPane.setContinuousLayout(true);
    }/*w  w  w  .ja v  a  2  s.  c o m*/
}

Related

  1. sanitizeSplitPaneDivider(JSplitPane splitPane)
  2. setDividerLocation(final JSplitPane splitter, final int position)
  3. setNewHeightRatio (JSplitPane splitPane, JComponent comp, float oldFraction, int v1, int v2)
  4. setSplitDivider(final JSplitPane split, float proportion)
  5. setSplitPaneDividerColor(final JSplitPane pane, final Color color)