I have found the answer: Java has native what I need: JSplitPlane
JPanel with hide button in its border to fold or unfold it
سؤال
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
نصائح أخرى
You can implement it by setting the bounds of your panel on onclick event of your show/hide button.
لا تنتمي إلى StackOverflow