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.
所以我有 3 个可折叠的 JXTaskPanes,我想要做的是一次只显示一个任务窗格,即如果用户单击任务窗格 #1、#2 和 #3 折叠并且 #1 展开等。
我无法将 actionlistener 添加到 JXTaskPanes,因为它不存在。我尝试了鼠标侦听器,但它非常有问题(并不总是有效:有时它不会是其中之一)
基本上,我需要一种方法,例如,在展开 #1 时折叠任务窗格 #2 和 #3。 有任何想法吗?
对这个问题很好奇,我做了更多的谷歌搜索,偶然发现了这个可能感兴趣的博客