• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 683
  • Last Modified:

JXcollapsible Pane

Hi Experts,
I have a very confusing problem.
I am trying to use a JXcollapisble Pane to display some information to the user.
I want Panel to expand on the click of a button.
I am trying to design this in Netbeans editor. I set the setCollapsed property to false and to true as per my need. But it does not work as I expected it to.
I set it to true to begin with. Yet the body of the pane is visible. Contents of the Pane are invisible.
I click on the button to expand the pane, the contents appear.
I click the button to make the pane collapse, nothing happens even though I see in the code that it is setting setCollapsed to true. The contents are still there too. They appear on the first click and never go away again. wierd!
Am I missing something very simple here?
Thanks for your help guys
0
guyneo
Asked:
guyneo
  • 3
2 Solutions
 
objectsCommented:
can you post your code
0
 
guyneoAuthor Commented:
Thanks Objects. I will post the code in a litle bit
0
 
guyneoAuthor Commented:
I was making a simple version of the code to post here. It worked fine. A few days later It didn't work.
found out the lib file was corrupt.

 
0
 
guyneoAuthor Commented:
Thanks object for pushing me to post the code
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now