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 应用程序,我试图插入一个选项卡式窗口,如果我插入一个无法放置任何其他组件(如文本框)的窗口,如何使用选项卡式窗口?
“我正在使用 GUI 构建器”
将JPanels 拖入 sJTabbedPane并将组件放置在JPanels中
JPanel
JTabbedPane