File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes splitting problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "splitting problem" Watch "splitting problem" New topic

splitting problem

Reshma Reddy
Ranch Hand

Joined: Dec 21, 2006
Posts: 197
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
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10824

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?

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: splitting problem
It's not a secret anymore!