Question

I need for a java application a panel with an hide/display button in its "border", which folds or unfolds it.

A description of the effect can be found under this doc of JDS : "The panel reduces in the direction of the arrow on the hide button. The hide button at the other end of the panel remains visible"; but I need it under Java, not JDS...

Does java have such a panel, or is it to implement by ourself?

Was it helpful?

Solution 2

I have found the answer: Java has native what I need: JSplitPlane

OTHER TIPS

You can implement it by setting the bounds of your panel on onclick event of your show/hide button.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top