jQuery in Action, 3rd edition
The moose likes Swing / AWT / SWT and the fly likes JSplitPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JSplitPane" Watch "JSplitPane" New topic


Kris Reid
Ranch Hand

Joined: Jan 05, 2005
Posts: 247
I want to remove the drag function of the seperator of a JSplitPane.
I have made the two components big enough so that you can slide it now but the mouse still changes which I would like to remove.

Is this possible?

Also I want to remove OneTouchExpandable for one component but not the other.
Any ideas?

Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
with this:
1)you can't drag the divider
2) only one of the oneTouchExpandables work

but if you click the oneTouchExpandable, you'll have a devil of a time
getting it back.

Kris Reid
Ranch Hand

Joined: Jan 05, 2005
Posts: 247
Thanks Michael - that's put me on the right track!
I agree. Here's the link: http://aspose.com/file-tools
subject: JSplitPane
It's not a secret anymore!