Java JTextField cleanTextFields(JTextField... textFields)

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

Description

clean Text Fields

License

Open Source License

Declaration

public static void cleanTextFields(JTextField... textFields) 

Method Source Code

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

import javax.swing.JTextField;

public class Main {
    public static void cleanTextFields(JTextField... textFields) {

        for (JTextField textField : textFields)
            textField.setText(null);/*from  ww w.ja  v  a 2  s.c  om*/

    }
}

Related

  1. AreAllTextFieldsFilled(javax.swing.JTextField[] tfs)
  2. badField(JTextField field)
  3. bindPropertyChangeListener(final JTextField field, final String name, final PropertyChangeListener listener)
  4. browseFileForField(JTextField textField, JFileChooser fileChooser, Component parent)
  5. checkJTextFieldNotEmpty(javax.swing.JTextField field, javax.swing.JLabel promptName, ArrayList errors)
  6. createBrowseButton(final JTextField txtInput, final Window parent, final boolean directoryBrowser)
  7. createFieldWithLabel(String label, JTextField textField)
  8. createOutputPanel(JLabel outputFileNameLabel, JButton chooseOutputFileButton, JTextField outputFileTextField, String borderTitle)
  9. dateCompleteOnlyFormat(JTextField pJTextField, KeyEvent e)