![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e827. Setting the Size of the Divider in a JSplitPane ContainerA divider can be no less than one pixel in size.// Create a left-right split pane JSplitPane pane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, leftComponent, rightComponent); // Get current size; it is look and feel dependent int size = pane.getDividerSize(); // Set a new size size = 1; pane.setDividerSize(size);
e824. Getting the Setting the Children in a JSplitPane Container e825. Distributing Space When a JSplitPane Container Is Resized e826. Getting and Setting the Divider Location in a JSplitPane Container © 2002 Addison-Wesley. |