3.3 SWING 基本 组件 (1)标签 组件 ( JLabel ) 标签 组件 显示的是静态文本,在通常情况下是不能编辑的,能起到提示的作用 JLabel 组件 有三种构造函数: JLabel (): 创建空...
基于56个网页-相关网页
Obtain a reference to the JLabel component and verify that the correct definition is there.
获得对JLabel组件的引用并检验是否显示了正确的释义。
For example the text of a JLabel or JTextField will be used as its default accessible name.
例如,JLabel或JTextField文本将被用作其缺省的可访问名称。
As I previously discussed, Swing compensates for this by allowing a JLabel to "label" the component.
正如我先前讨论的,这些Swing通过允许JLabel来标记组件以弥补这一不足。
应用推荐