aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JSplitPane" Watch "JSplitPane" New topic
Author

JSplitPane

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?

Thanks
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!
 
 
subject: JSplitPane