Java JTextField isActiveComponents(JTextField... textFields)

Here you can find the source of isActiveComponents(JTextField... textFields)

Description

is Active Components

License

Open Source License

Declaration

public static boolean isActiveComponents(JTextField... textFields) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import javax.swing.JTextField;

public class Main {
    public static boolean isActiveComponents(JTextField... textFields) {

        for (JTextField textField : textFields)
            if (textField.isEnabled())
                return textField.isEnabled();

        return false;
    }/*from   w  w w  .  j av  a 2  s .co  m*/
}

Related

  1. createOutputPanel(JLabel outputFileNameLabel, JButton chooseOutputFileButton, JTextField outputFileTextField, String borderTitle)
  2. dateCompleteOnlyFormat(JTextField pJTextField, KeyEvent e)
  3. doAction(JTextField textField)
  4. fieldSetErrorVisual(final JTextField field)
  5. implyDisabled(final JCheckBox checked, final boolean checkedState, final JTextField changed)
  6. isEmptyStr(javax.swing.JTextField input)
  7. isInHighlight(MouseEvent e, JTextField label, Highlighter h)
  8. isJTextFieldNotEmpty(javax.swing.JTextField field)
  9. isTelpValid(JTextField field)