Package javax.swing

Examples of javax.swing.InputVerifier.verify()


  public static class VerifierListener implements ActionListener {
      public void actionPerformed(ActionEvent e){
        JComponent c = (JComponent)e.getSource();
        InputVerifier v = c.getInputVerifier();
        if (v != null) // on init, it is null
          v.verify(c);
      }
  }
  public final void setUpdating(boolean doNotVerify) {
    this.updating = doNotVerify;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.