• Obtain a reference to the JTextField and add some text to it.

    获得JTextField引用并向其添加一些文本

    youdao

  • Simple components, such as JButton and JTextField, use one constant.

    简单组件例如JButtonJTextField使用一个常量

    youdao

  • JTextField is a lightweight component that allows the editing of a single line of text.

    文本输入框轻量级允许一个文本单行编辑

    youdao

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

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

    youdao

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

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

    youdao

  • The component hierarchy in Listing 7 helps you conclude that the original developer gave JTextField a wrong name.

    清单7中的组件层次结构有助于推断原先开发人员JTextField提供了错误的名称。

    youdao

  • If you want to set the initial focus to a button rather than a JTextField, you can set the DefaultButton field, as follows.

    如果希望初始焦点设置按钮不是JTextField可以设置DefaultButton字段,如下所示。

    youdao

  • It also allows components that do not support keyboard mnemonics (for example, JTextField) to be accessed by keyboard mnemonics.

    允许通过键盘记符访问那些支持键盘助记符的组件(例如JTextField)。

    youdao

  • For example, the following code adds a WindowListener to the JFrame that requests focus for the JTextField when the window is activated.

    例如下列代码WindowListener添加到J Frame,后者在窗口被激活JTextField请求焦点

    youdao

  • The Accessibility Toolkit provides helper methods to assist in labeling components. Listing 12 shows the helper methods at work on a JTextField component

    访问性工具箱提供了助手方法辅助对组件标记

    youdao

  • The Accessibility Toolkit provides helper methods to assist in labeling components. Listing 12 shows the helper methods at work on a JTextField component

    访问性工具箱提供了助手方法辅助对组件标记

    youdao

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

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

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