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字段,如下所示。
Now that the sample Purchase Order form has been updated to include a submission button, let's focus on the servlet that receives the form submission.
既然已经更新示例PurchaseOrder表单,包含了submission按钮,那么将重点转到接收表单提交的servlet上。
So, by default, the Focus on Active Task button automatically toggles on when you activate a task and toggles off when you deactivate a task.
因此,默认情况下,当激活一个任务时,FocusonActiveTask按钮自动打开,当将一个任务变为不活动时,该按钮自动关闭。
Toggled with the focus on active task button, these have the effect of filtering away all uninteresting elements, thereby focusing the corresponding view on the active task context.
通过FocusonActiveTask按钮激活后,这些功能可以过滤掉所有不感兴趣的元素,从而将相应的视图聚焦于活动任务的上下文。
When the user expands the More Actions button and clicks Import Bookmarks, the figure shows that the focus is still on More Actions rather than moving onto the new window.
当用户展开MoreActions按钮并单击ImportBookmarks 时,屏幕显示焦点仍在More Actions 按钮上而不是移到新窗口中。
We'll be able to focus more on improving and enhancing products and features that people use every day, such as Photos, News Feed, Inbox, games, comments, the 'Like' button and the Wall.
我们想要把我们的注意力放到改进和加强人们每天都用到的一些功能,比如相册,新闻源,收件箱,游戏,评论,最近的“我喜欢”功能,还有个人展示页面。”
Most compact cameras and all SLRs have a focus-lock capability, activated by pushing the shutter release button down halfway.
大部分的紧凑型相机和所有的单反相机都有一个焦点锁定功能,通过把快门按下一半儿来实现。
Draws a button control in the specified state and bounds, with the specified text, and with an optional focus rectangle.
在指定边界内使用指定文本和一个可选焦点矩形绘制指定状态的按钮控制项。
Draws a button control in the specified state and bounds, with the specified image, and with an optional focus rectangle.
在指定边界内使用指定图像和一个可选焦点矩形绘制指定状态的按钮控制项。
Draws a button control in the specified state and bounds, with the specified text and text formatting, and with an optional focus rectangle.
在指定边界内使用指定文本、文本格式和一个可选焦点矩形绘制指定状态的按钮控制项。
If there are no input controls, the initial focus should be assigned to the default button.
如果没有输入控件,初始化的焦点定位将被定位到默认的按钮上。
You will revisit the Button setup code later in this article; for now focus on the setup of the WebView control or widget.
本文稍后还会详细介绍Button设置代码,现在将重点放在WebView控件或小部件的设置上。
In NSIS, how to disable the ENTER key from the keyboard or prevent the consent button to get focus after clicking in the dialog window's text area?
在扎伤,如何禁用输入按键从键盘或防止同意按钮点击后在对话框窗口中的文本区域的重点?
In a form with a tabbed control, a button click reduces panel-height in TAB page in focus, which gets corrected if move to another TAB and come back.
在形成一个标签控件,单击按钮可以在标签页面板的高度关注,得到如果移动到另一个选项卡来纠正。
Once you have done some spot checks on the image you can press the OK button to focus the whole image.
一经你已经做在图像上的一些地点检查,你能按好按钮集中整个的图像。
Draws a button control in the specified state and bounds, and with an optional focus rectangle.
在指定边界内使用一个可选焦点矩形绘制指定状态的按钮控件。
Draws a button control in the specified state and bounds, with the specified text, and with an optional focus rectangle.
在指定边界内使用指定文本和一个可选焦点矩形绘制指定状态的按钮控件。
Draws a button control in the specified state and bounds; with the specified text, text formatting, and image; and with an optional focus rectangle.
在指定边界内使用指定文本、文本格式、图像和一个可选焦点矩形绘制指定状态的按钮控件。
Draws a button control in the specified state and bounds, with the specified text and image, and with an optional focus rectangle.
在指定边界内使用指定文本、图像和一个可选焦点矩形绘制指定状态的按钮控件。
This is because the selection is automatically cleared when the input focus moves from the combo box to the button.
因为当输入焦点从下拉式方块移至按钮时,选取范围就会自动清除。
A cancel button is clicked whenever the user presses the ESC key, regardless of which other control on the form has the focus.
每当使用者按下esc键,则不管表单上的哪个控制项拥有焦点,都会按一下取消按钮。
Draws a button control in the specified state and bounds, with the specified text and text formatting, and with an optional focus rectangle.
在指定的状态和范围中,绘制具有指定文字、文字格式和影像以及选择性焦点矩形的按钮控制项。
When the camera's AF-ON button is pressed, the monitor turns off and a focus point can now be selected using the multi selector.
当相机的AF - ON按钮按下后显示屏关闭并且可以用多选择器选择对焦区域。
Guangdong Ruifeng switch factory was established in 1991, is located in Dongguan City, is a focus on design and manufacture toggle switch. Slide switch. Touch switch. Switch button.
广东瑞丰开关厂成立于1991年,座落于东莞市,是一家专注于设计制造拨动开关。滑动开关。轻触开关。按键开关。按钮开关。自锁开关。
If the button is the "cancel" button of the form, pressing ESC chooses the button, even if another control has the focus.
如果该按钮是窗体的“取消”按钮,那么即使另一个控件具有焦点,按esc也将选择该按钮。
When you fully press the release button for photo, the camera has not completed the focus process.
当您完全按下释放按钮的照片,相机还没有完成的重点过程。
Solution - half press the release button and wait for the bip sound or the focus indicator in the camera's view finder, then fully press the button.
解决方案-半按下释放按钮,等待综合保险计划的声音或在相机的取景重点指标,然后完全按下按钮。
Since this Button now has no background. We must set the text color to indicate focus.
因为这个按钮现在没有背景,我们必须设置文本颜色来突出显示。
Since this Button now has no background. We must set the text color to indicate focus.
因为这个按钮现在没有背景,我们必须设置文本颜色来突出显示。
应用推荐