Vincent Roye
Vincent Roye

Reputation: 2841

Java Swing JPanel slide up animation?

enter image description here

I have this thing and when I click on the filter arrow (it should be a up arrow I know): - the form pannel above has to slide up slowly (and disapear) - the green panel has to be lifted up - the bottom scrollpane has to slowly rise up its height (+the height of the form panel)

I am not so good with swing, how can I do that ?

Thank you very much !

Regards

Upvotes: 1

Views: 4282

Answers (1)

kleopatra
kleopatra

Reputation: 51524

SwingX comes with a JXCollapsiblePanel which might be helpful. Its demo shows it in action (as taskPanes) at the left - that's the part for choosing the demos.

Upvotes: 5

Related Questions