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.
如何在 Swing 中创建可重新排列的选项卡?就像在 Google Chrome 浏览器或 Opera 浏览器中找到的那样。用户可以在其中拖动选项卡并对其进行排列。是否可以在 Swing 或 JavaFx 2.0 中实现相同的功能?
我在 jtabbedpane 中找到了这个代码示例拖放选项卡,看起来就像您正在寻找的那样。