Solved

JXcollapsible Pane

Posted on 2011-03-04
4
677 Views
Last Modified: 2013-11-23
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
Comment
Question by:guyneo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 35040831
can you post your code
0
 
LVL 1

Author Comment

by:guyneo
ID: 35180931
Thanks Objects. I will post the code in a litle bit
0
 
LVL 1

Assisted Solution

by:guyneo
guyneo earned 0 total points
ID: 36815773
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
 
LVL 1

Author Closing Comment

by:guyneo
ID: 36908421
Thanks object for pushing me to post the code
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question