Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSplitPane  RSS feed

 
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Michael - that's put me on the right track!
 
And then we all jump out and yell "surprise! we got you this tiny ad!"
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!