本文整理了Java中javax.swing.JCheckBox.addKeyListener()
方法的一些代码示例,展示了JCheckBox.addKeyListener()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JCheckBox.addKeyListener()
方法的具体详情如下:
包路径:javax.swing.JCheckBox
类名称:JCheckBox
方法名:addKeyListener
暂无
代码示例来源:origin: fr.ifremer/isis-fish
protected void createServerNoPassPhrase() {
$objectMap.put("serverNoPassPhrase", serverNoPassPhrase = new JCheckBox());
serverNoPassPhrase.setName("serverNoPassPhrase");
serverNoPassPhrase.setSelected(true);
serverNoPassPhrase.addKeyListener(JAXXUtil.getEventListener(KeyListener.class, "keyReleased", this, "doKeyReleased__on__serverNoPassPhrase"));
}
代码示例来源:origin: sc.fiji/fiji-lib
fullInfoCheckBox.addKeyListener(this);
fuzzyCheckBox = new JCheckBox("Fuzzy matching", false);
fuzzyCheckBox.addItemListener(this);
fuzzyCheckBox.addKeyListener(this);
closeCheckBox = new JCheckBox("Close when running", true);
fuzzyCheckBox.addItemListener(this);
fuzzyCheckBox.addKeyListener(this);
代码示例来源:origin: net.sf.taverna.t2.ui-impl/workbench-impl
keepMeInformedCheckBox.setSelected(previousRegistrationData.getKeepMeInformed());
keepMeInformedCheckBox.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
if (evt.getKeyCode() == KeyEvent.VK_ENTER) {
termsAndConditionsCheckBox.setFont(baseFont);
termsAndConditionsCheckBox.setBorder(null);
termsAndConditionsCheckBox.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
if (evt.getKeyCode() == KeyEvent.VK_ENTER) {
代码示例来源:origin: org.bitbucket.goalhub.simpleide/jedit
filterCheckbox.addKeyListener(keyListener);
if(mode != CHOOSE_DIRECTORY_DIALOG)
代码示例来源:origin: Spoutcraft/LegacyLauncher
remember.setBorder(null);
remember.setForeground(Color.WHITE);
remember.addKeyListener(this);
内容来源于网络,如有侵权,请联系作者删除!