Source Code : SplitPane Sample 3
Java Is Open Source Programming Language You Can Download From Java and Java Libraries From http://www.oracle.com.
Click Here to download
We provide this code related to title for you to solve your developing problem easily. Libraries which is import in this program you can download from http://www.oracle.com.
Click Here or search from google with Libraries Name you get jar file related it
SplitPane Sample 3

import java.awt.BorderLayout;
import javax.swing.JFrame;
import javax.swing.JSplitPane;
public class SplitPaneSample {
public static void main(String args[]) {
JFrame vFrame = new JFrame("JSplitPane Sample");
vFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JSplitPane vSplitPane = new JSplitPane();
vSplitPane.setOrientation(JSplitPane.VERTICAL_SPLIT);
vFrame.getContentPane().add(vSplitPane, BorderLayout.CENTER);
vFrame.setSize(300, 150);
vFrame.setVisible(true);
JFrame hFrame = new JFrame("JSplitPane Sample");
JSplitPane hSplitPane = new JSplitPane();
hFrame.getContentPane().add(hSplitPane, BorderLayout.CENTER);
hFrame.setSize(300, 150);
hFrame.setVisible(true);
}
}
Thank with us