When you're designing a user interface with JTabbedPane, it's not uncommon to specify many tabs.
当您用JTabbedPane设计用户界面时,指定许多选项卡也是很常见的。
For convenience, I begin by creating two local variables to hold the frame's content pane and the JTabbedPane.
为了方便起见,我在开始时就创建了两个局部变量来保存该框架的内容面板以及JTabbedPane。
Some more-complex components, such as the JScrollBar and the JTabbedPane, have multiple constants for their different parts.
有些更复杂的组件,例如JScrollBar和JTabbedPane,则有多个常量,用于不同的部分。
The JTabbedPane control is a container that allows a user to access different component sets based on which tab he or she selects.
JTabbedPane 控件是一个容器,它根据用户选择的选项卡允许他或她访问不同的组件集。
The area decreases proportionally to the number of rows needed to display the tabs across the JTabbedPane — a user interface engineer's nightmare.
所占区域根据显示跨越JTabbedPane各个选项卡所需的行数按比例减小—对用户界面工程师来说,这很可怕。
The area decreases proportionally to the number of rows needed to display the tabs across the JTabbedPane — a user interface engineer's nightmare.
所占区域根据显示跨越JTabbedPane各个选项卡所需的行数按比例减小—对用户界面工程师来说,这很可怕。
应用推荐