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?

有帮助吗?

解决方案 2

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

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top