How To - Creating A Textbox ( jTextbox) Validation Class In Java

This class was developed to be used in a java windows form application to validated jtextboxes easily.

1. Add the class to project
2. Create an object
3. use appropriate method with your parameters

eg;-

AutoValidation validation =new AutoValidation();

validation.ValidationCheck(CustomerId, true,0,'@');

so here CustomerID is jTextbox and true is to check if it's empty and 0 means no length check and @ is a special character so you can input number and alphabetic.

Read class comments for more information

Download Source Code


Comments

Popular posts from this blog

Homemade water pump