Example usage for javax.swing JSplitPane setDividerSize

List of usage examples for javax.swing JSplitPane setDividerSize

Introduction

In this page you can find the example usage for javax.swing JSplitPane setDividerSize.

Prototype

@BeanProperty(description = "The size of the divider.")
public void setDividerSize(int newSize) 

Source Link

Document

Sets the size of the divider.

Usage

From source file:tk.tomby.tedit.core.Workspace.java

private JSplitPane createSplitPane(int orientation, Component left, Component right) {
    JSplitPane split = new StrippedSplitPane(orientation, left, right);
    split.setBorder(BorderFactory.createEmptyBorder());
    split.setDividerSize(5);
    split.setOneTouchExpandable(false);/*from w ww .j  av a  2 s.c o m*/
    return split;
}