• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSplitPane  RSS feed

 
Anubhuti Bhargava
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
want jsplitpane to be fixed.
don't know how to go about it.
thanks in advance
 
Rene Liebmann
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you want to use a JSplitPane if you don't need it? If you don't want, that the divider can be positioned, then you should better use two panels.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"anubha" -

Welcome to the JavaRanch! Please adjust your displayed name to meet the
JavaRanch Naming Policy.
You can change it here.

Thanks! and welcome to the JavaRanch!
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can setEnabled(false) on the split pane and you won't be able to move them. However, like was stated before, why splitpane if you are not using them?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!