By kaushik_sathupadi
via javaswing.net
Published: Jul 28 2008 / 14:45
Here's 3 kinds of text fields that you may want to use in your projects.
1) An "Email" text-field: That does'nt let the focus out without the user entering a valid email address
2) An "Numeric" text-field: That accepts only numeric input and ignores all others
3) An "upper case" text-field: That automatically converts the characters to upper case as the user types in.
Besides using this components in whatever way you like, looking at the code can give you an excellent insight on using InputVerifier and DocumentFitler if you have already not used them



Comments
skarfiol replied ago:
gss
Voters For This Link (6)
Voters Against This Link (0)