title: Input Verifier effect not work by click, just work by tab button
body: <p>I have a delicate problem!</p>
  
  <p>I have a form that set input verifier to text fields, and when user type a incorrect value, other text fields and radio buttons should be disable. </p>
  
  <p>In second text filed (last name), When user type a incorrect value, other components disable perfectly, But when user edit that value to correct it, (for e.x by removing digit), user should user keyboard <code>tab</code> button to enable other components (radio buttons) and I want to enable with clicking to radio buttons too.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>public class UserDialog3 extends JDialog implements ActionListener {
  JButton cancelBtn, okBtn;
  JTextField fNameTf, lNameTf;
  JRadioButton maleRb, femaleRb;
  ButtonGroup group;
  JLabel fNameLbl, lNameLbl, genderLbl, tempBtn, temp3, temp2, temp1;
  
  public UserDialog3() {
      add(createForm(), BorderLayout.CENTER);
      setDefaultCloseOperation(DISPOSE_ON_CLOSE);
      setLocation(400, 100);
      pack();
      setVisible(true);
  }
  
  public static void main(String[] args) {
      SwingUtilities.invokeLater(new Runnable() {
          @Override
          public void run() {
              new UserDialog3();
          }
      });
  }
  
  public JPanel createForm() {
      JPanel panel = new JPanel();
  
      okBtn = new JButton("Ok");
      cancelBtn = new JButton("Cancel");
      tempBtn = new JLabel();
      fNameLbl = new JLabel("First Name");
      lNameLbl = new JLabel("Last Name");
      genderLbl = new JLabel("Gender");
      temp2 = new JLabel();
      temp1 = new JLabel();
  
      maleRb = new JRadioButton("Male");
      femaleRb = new JRadioButton("Female");
      temp3 = new JLabel();
      group = new ButtonGroup();
      group.add(maleRb);
      group.add(femaleRb);
  
      fNameTf = new JTextField(10);
      fNameTf.setName("FnTF");
      fNameTf.setInputVerifier(new MyVerifier(new JComponent[]{maleRb, femaleRb, okBtn}));
      lNameTf = new JTextField(10);
      lNameTf.setName("LnTF");
      lNameTf.setInputVerifier(new MyVerifier(new JComponent[]{maleRb, femaleRb, okBtn}));
  
      panel.add(fNameLbl);
      panel.add(fNameTf);
      panel.add(temp1);
      panel.add(lNameLbl);
      panel.add(lNameTf);
      panel.add(temp2);
      panel.add(genderLbl);
      JPanel radioPanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
      radioPanel.add(maleRb);
      radioPanel.add(femaleRb);
      panel.add(radioPanel);
      panel.add(temp3);
      panel.add(okBtn);
      panel.add(cancelBtn);
      panel.add(tempBtn);
  
      panel.setLayout(new SpringLayout());
      SpringUtilities.makeCompactGrid(panel, 4, 3, 50, 10, 80, 60);
      return panel;
  }
  
  @Override
  public void actionPerformed(ActionEvent e) {
  
  }
  
  public class MyVerifier extends InputVerifier {
      private JComponent[] component;
  
      public MyVerifier(JComponent[] components) {
          component = components;
      }
  
      @Override
      public boolean verify(JComponent input) {
          String name = input.getName();
  
          if (name.equals("FnTF")) {
              String text = ((JTextField) input).getText().trim();
              if (text.matches(".*\\d.*") || text.length() == 0) {
                  //disable dependent components
                  for (JComponent r : component) {
                      r.setEnabled(false);
                  }
                  return false;
              }
          } else if (name.equals("LnTF")) {
              String text = ((JTextField) input).getText();
              if (text.matches(".*\\d.*") || text.length() == 0) {
                  //disable dependent components
                  for (JComponent r : component) {
                      r.setEnabled(false);
                  }
                  return false;
              }
          }
          //enable dependent components
          for (JComponent r : component) {
              r.setEnabled(true);
          }
          return true;
      }
  }
  }
  </code></pre>