Class CleanFields
java.lang.Object
br.com.pethub.utils.CleanFields
This class provides a utility method to clean the text fields in a given set of containers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanFields
(JPanel... containers) This method cleans all the text fields in the given containers.
-
Constructor Details
-
CleanFields
public CleanFields()
-
-
Method Details
-
cleanFields
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.
-