Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

splitting problem  RSS feed

 
Reshma Reddy
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have splitpane in my screen, in top section im displaying search results in borrom i want to display results based on search results row selection. Initially bottom section is invisible, once user selects any results row i want enable bottom. I am trying to do this but bottom sections is not enabling. can any one tell how can i fix this issue.

Note: Initially top section will be occupied total size.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are multiple ways of doing this.
1) Show/hide the bottom panel
2) Reset divider location
3) Add bottom panel on demand.

Which approach are you following. Can you share your code so we can help you better?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!