Top "Jsplitpane" questions

JSplitPane is a java swing component used to divide two (and only two) components.

Setting divider location on a JSplitPane doesn't work

I'm trying to set the divider location of a JSplitPane but it seems not to work. Here's an SSCCE: import …

java swing jsplitpane
JSplitPane SetDividerLocation Problem

I have a JSplitPane which when shown should split the pane by 50%. Now on giving an argument of 0.5 (as suggested) …

java jsplitpane
How to set JSplitPane-Divider collapse/expand State?

I have a JFrame with a JSplitPane that is OneTouchExpandable. I want to remember the last Divider position of the …

java swing jsplitpane
Adjusting size of JPanels in JSplitPane

Trying to create a JSplitPane with two JPanels. With the following code: JTable table = new JTable(qualifierModel); table.setDefaultEditor(String.…

java swing jsplitpane
JSplitPane: is there a way to show/hide one of the panes?

I have a JSplitPane with two components, A and B, but sometimes I want to be able to hide B, …

java swing jsplitpane
Resize Control with Java JSplitPane

Please see my image below at the link and then read below it for more details on my problem. Imagine …

java swing resize jsplitpane
How to get the dimensions of the visible part of the JScrollPane-based window

This JScrollPane based window is a top part of the JSplitPane. getBounds(), getWidth(), getHeight() all return the full size of …

java swing jscrollpane viewport jsplitpane
Resizing issue with canvas within jscrollpane within jsplitpane

I'm creating an application using the NetBeans GUI Editor, in which I want to have a JSplitPane, the top component …

java swing jscrollpane jsplitpane
how can you programmatically set the JSplitPane to hide the right/bottom component when OneTouchExpandable is set to true?

In a JSplitPane, you have the setOneTouchExpandable method which provides you with 2 buttons to quickly fully hide or full show …

java swing jsplitpane