本文整理了Java中javax.swing.JButton.setVerifyInputWhenFocusTarget()
方法的一些代码示例,展示了JButton.setVerifyInputWhenFocusTarget()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JButton.setVerifyInputWhenFocusTarget()
方法的具体详情如下:
包路径:javax.swing.JButton
类名称:JButton
方法名:setVerifyInputWhenFocusTarget
暂无
代码示例来源:origin: stackoverflow.com
JButton cancel = new JButton("Cancel");
cancel.setVerifyInputWhenFocusTarget( false );
代码示例来源:origin: antlr/antlrworks
iconButton.setRequestFocusEnabled(false);
iconButton.setOpaque(false);
iconButton.setVerifyInputWhenFocusTarget(false);
iconButton.setVerticalAlignment(SwingConstants.TOP);
contentPane.add(iconButton, cc.xywh(1, 1, 1, 37));
代码示例来源:origin: org.netbeans.api/org-openide-explorer
cancelButton.setVerifyInputWhenFocusTarget(false);
cancelButton.getAccessibleContext().setAccessibleDescription(getString("ACSD_CTL_Cancel"));
cancelButton.setDefaultCapable(false);
defaultButton.getAccessibleContext().setAccessibleDescription(getString("ACSD_CTL_Default"));
defaultButton.setDefaultCapable(false);
defaultButton.setVerifyInputWhenFocusTarget(false);
代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide
okButton.getAccessibleContext().setAccessibleDescription(getString("ACSD_CTL_OK"));
JButton cancelButton = new JButton(getString("CTL_Cancel"));
cancelButton.setVerifyInputWhenFocusTarget(false);
cancelButton.getAccessibleContext().setAccessibleDescription(getString("ACSD_CTL_Cancel"));
cancelButton.setDefaultCapable(false);
defaultButton.getAccessibleContext().setAccessibleDescription(getString("ACSD_CTL_Default"));
defaultButton.setDefaultCapable(false);
defaultButton.setVerifyInputWhenFocusTarget(false);
代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide
okButton.getAccessibleContext().setAccessibleDescription(getString("ACSD_CTL_OK"));
JButton cancelButton = new JButton(getString("CTL_Cancel"));
cancelButton.setVerifyInputWhenFocusTarget(false);
cancelButton.getAccessibleContext().setAccessibleDescription(getString("ACSD_CTL_Cancel"));
cancelButton.setDefaultCapable(false);
defaultButton.getAccessibleContext().setAccessibleDescription(getString("ACSD_CTL_Default"));
defaultButton.setDefaultCapable(false);
defaultButton.setVerifyInputWhenFocusTarget(false);
代码示例来源:origin: bcdev/beam
button.setVerifyInputWhenFocusTarget(false);
registerButton(ID_CANCEL, button);
button.setToolTipText("Close dialog window");
buttons.add(button);
button.setVerifyInputWhenFocusTarget(false);
registerButton(ID_CLOSE, button);
代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-sun-appsrv
cancel.setVerifyInputWhenFocusTarget(false);
dd.setOptions(new Object[] {
NotifyDescriptor.OK_OPTION,
代码示例来源:origin: senbox-org/snap-desktop
button.addActionListener(e -> close());
buttons.add(button);
button.setVerifyInputWhenFocusTarget(false);
registerButton(ID_CANCEL, button);
button.setToolTipText("Close dialog window");
buttons.add(button);
button.setVerifyInputWhenFocusTarget(false);
registerButton(ID_CLOSE, button);
内容来源于网络,如有侵权,请联系作者删除!