JSplitPane divider movement problem
Posted on 2004-04-21
I'm using a JSplitPane having a JPanel on both the left and right. When I start out the divider moves perfectly fine in both directions, But when I change the JPanels to something different I am unable to move the to the right. When I use setDividerLocation(.5), it sets the divider where I want, but then when I click to move the divider bar left and right it moves to the right and I can't move it to the left. After it is moved to the right, then I can move the divider bar left and right, but not past where it just was moved to. is there anyway to allow the divider bar to move all the way left and right. If not, is there a way to not allow the user to move the divider bar?
Thanks in advance.