Вопрос

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