How to create a JSplitPane

As the following examples are based on a new frame, we leave the one before and create a new one giving it the Name: myJFrame3. Meanwhile you should be familar with the tool and also with how to create the source code so that we now will concentrate on how to build the rest of the Components not explained yet.

Coming back to our myJFrame3 we select this frame in the tree and create a new JSplitPane by pressing the new JSplitPane button on the right toolbar. Try Check from the Editors Panel and from the toolbar. You will have a functioning JSplitPane.

Hint Note: This JSplitPane can only contain two other Components. If you add more than these two they will be ignored.