JSplitPane


Our help dialog uses two JSplitPane components, one nested inside the other. The inner JSplitPane, at the top of the dialog, separates the outline of topics on the left from the text on the right. You can drag the divider left or right to alter the distribution of space between the two components. The outer JSplitPane separates the top JSplitPane from the JdbTable at the bottom of the dialog. You can also drag its divider to show more or less of the table.

Here's what you should know about working with JSplitPane in the UI Designer:

In our dialog the tree's preferredSize determines the position of the vertical divider. The divider can be moved either left or right, but both the tree and the editor pane have minimumSize settings that limit how far the divider can be moved. The inner JSplitPane's preferredSize determines the position of the horizontal divider. The height portion of the table's minimumSize is zero, so the divider may be moved down until the table is completely hidden.