• For example the text of a JLabel or JTextField will be used as its default accessible name.

    例如JLabelJTextField文本用作缺省可访问名称

    youdao

  • As I previously discussed, Swing compensates for this by allowing a JLabel to "label" the component.

    正如先前讨论的,这些Swing通过允许JLabel来标记组件弥补不足。

    youdao

  • To demonstrate, Listing 4 offers a JTextField component for input and a JLabel component for text display.

    为了示范这一点,清单4提供了用于输入JTextField组件一个用于文本显示JLabel组件。

    youdao

  • Next, the Swing components (in this case a JLabel subclass that shows updating time) are created, as show in Listing 6.

    接下来创建Swing组件(例中显示更新时间jlabel子类),清单6所

    youdao

  • Then, if you try to add a JLabel to that collection, the compiler picks up the discrepancy and complains at compile time.

    然后如果JLabel添加集合编译器会编译发现差异并抛出异常。

    youdao

  • The second line of the error message says you are trying to add a JLabel to what the third error line is reporting as a List of JButton objects.

    错误消息第二表明,尝试一个JLabel添加第三个错误行报告JButton对象List

    youdao

  • The second line of the error message says you are trying to add a JLabel to what the third error line is reporting as a List of JButton objects.

    错误消息第二表明,尝试一个JLabel添加第三个错误行报告JButton对象List

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定