In a JSplitPane, you have the setOneTouchExpandable method which provides you with 2 buttons to quickly fully hide or full show the JSplitPane. My question is how can you programmatically “click” the hide button on the JSplitPane? I may have wrongly explained myself. I want the splitpane to show only one of the 2 components at start (this is what