I have a JScrollPane that contains a JXTaskPaneContainer that contains several
JXTaskPanes. I dynamically add and remove tasks to the JXTaskPanes based on what
my user is doing, however this causes the JXTaskPaneContainer to shrink or grow,
and this isn't communicated to the enclosing JScrollPane so the scroll bar
doesn't appear/disappear as required. Resizing the window gets everything back
I've had a look at the code, and adding a 'revalidate' call and overriding 'add'
in the JXTaskPane class to also call revalidate fixes the problem. I will attach
a diff of my changes.