JPanel « JSplitPane « Java Swing Q&A





2. JPanel inside JSPlitPane -autoresie    coderanch.com

3. displaying JSplitPane in JPanel    java-forums.org

First of all edit your posting and repost your code using the "Code tags" so the posted code retains its formatting and is readable. In the first case the split pane is added to the content pane which uses a BorderLayout. The split pane is added to the CENTER which means it gets all the space available to the BorderLayout. In ...