Home | » | Java | » | Advance Java | » | Java Swing II | » | JSplitPane |
---|
The JSplitPane is commonly used component because it lets you split your window horizontally or vertically in order to create a wide variety of GUI elements to suit your application's needs.
A JSplitPane displays two components, either side by side or one on top of the other. By dragging the divider that appears between the components, the user can specify how much of the split pane's total area goes to each component. You can divide screen space among three or more components by putting split panes inside of split panes
The below program showing how to use JSplitPane in java swing...C:\>jdk1.4\bin>javac JSplitPaneDemo.java
C:\>jdk1.4\bin>java JSplitPaneDemo
|
||
Download Complete Program |
It is a wonderful article about the JSplitPane.Thanks for sharing.
ReplyDeleteJava Training in OMR