Class CleanFields

java.lang.Object
br.com.pethub.utils.CleanFields

public class CleanFields extends Object
This class provides a utility method to clean the text fields in a given set of containers.
  • Constructor Details

    • CleanFields

      public CleanFields()
  • Method Details

    • cleanFields

      public void cleanFields(JPanel... containers)
      This method cleans all the text fields in the given containers. It sets the text of each text field to null.
      Parameters:
      containers - The containers whose text fields are to be cleaned.