[SWINGX-1395] CollapsiblePane: wrapper view visibility state not set Created: 02/Feb/11  Updated: 03/Mar/11  Resolved: 03/Mar/11

Status: Resolved
Project: swingx
Component/s: TaskPane and CollapsiblePane
Affects Version/s: 1.6.2
Fix Version/s: 1.6.3

Type: Bug Priority: Major
Reporter: mbu_dk Assignee: Karl Schaefer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When setting a new contentpane the wrapper view's visility is not set to coincide with the collapsed state. The visibility is only set when the collapsed state is changing/changed.

Inserting the following:

wrapper.getView().setVisible(!wrapper.collapsedState);

before invoking super.addImpl in JXCollapsiblePane.setContentPane fixes the issue.



 Comments   
Comment by Karl Schaefer [ 03/Mar/11 ]

SWINGX-1395: Fix as specified.

swingx-core/src/main/java/org/jdesktop/swingx/JXCollapsiblePane.java

Committed revision 3941.

Generated at Thu Jun 30 00:24:20 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.