code: public void clearAll()
      {
          for (int i = 0; i < textFields.size(); i++)
          {
              JTextField textField = textFields.get(i);
              if (textField == null)
              {
                  continue;
              }
              textField.setText("");
          }
      }
docs: Clear all text fields in this instance