Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何提供最小化的子面板?
正如您在一个窗格中的图像中看到的那样,有 4 个菜单(不知道它们是什么),当单击标题旁边的箭头时,它们可以最小化。我不确定这是 Swing 组件还是易于实现。
http://www.coderanch.com/t/344454/GUI/java/Accordion-Widget
或者
https://blogs.oracle.com/geertjan/entry/pluggable_accordion
您也可以尝试通过“java swing手风琴”找到