public class SplitPaneUtil
extends java.lang.Object
Constructor and Description |
---|
SplitPaneUtil() |
Modifier and Type | Method and Description |
---|---|
javax.swing.JSplitPane |
setDividerLocation(javax.swing.JSplitPane splitter,
double proportion)
A workaround to ensure the divider location is set, even if the split pane
has not yet completed its construction (as required by the Swing API)
|
void |
setupDivider(javax.swing.JSplitPane splitPane,
boolean oneTouch)
Sets some divider options and removes its border
|
public void setupDivider(javax.swing.JSplitPane splitPane, boolean oneTouch)
splitPane
- the pane to setuppublic javax.swing.JSplitPane setDividerLocation(javax.swing.JSplitPane splitter, double proportion)
splitter
- the splitterproportion
- where to put the divider