Finally, you register the component with the segments container (a JPanel).
最后,将组件注册到段容器(JPanel)。
As you can see, the JPanel consists of a number of text fields, labels, and two radio buttons.
正如您看到的一样,JPanel由一些文本字段、标签和两个单选按钮组成。
For the most part, it contains the same functions as a JPanel, letting you change the layout and add and remove components.
它包含的功能大部分与JPanel相同,并且允许改变布局,添加和删除组件。
This is especially convenient when you are testing a component such as a JPanel separate from the application that will eventually include it.
当您正在测试一个组件(比如jpanel),而该组件与最终将要包含它的应用程序相分离的时候,这会特别方便。
This is especially convenient when you are testing a component such as a JPanel separate from the application that will eventually include it.
当您正在测试一个组件(比如jpanel),而该组件与最终将要包含它的应用程序相分离的时候,这会特别方便。
应用推荐