Hi, I'm using a JSplitPane component with two JPanels inside each side of the SplitPane. I'm using OneTouchExpandable property of JSplitPane and setting it to true initially. When the split pane is first shown, both the panels are visible. Well, I want to add code when the divider is collapsed. What is the action performed for this just like action performed for jbutton? Please help. Thanks.