An open API service indexing awesome lists of open source software.

https://github.com/tanshaydar/java-swing-form-validation

Java Swing Form Validation for JTextField and JTextArea.
https://github.com/tanshaydar/java-swing-form-validation

form-validation java swing swing-gui

Last synced: over 1 year ago
JSON representation

Java Swing Form Validation for JTextField and JTextArea.

Awesome Lists containing this project

README

          

This little piece of code lets you to add validation to your Java Swing application forms.
You can set verification to your **JTextField**s and **JTextArea**s with [InputVerifier](https://docs.oracle.com/javase/7/docs/api/javax/swing/InputVerifier.html) method, which is a native Java method.

![java_swing_validation.png](https://bitbucket.org/repo/rynqEj/images/2904928049-java_swing_validation.png)

Types of verifications this little piece of code supports are:

* Integer only w/ min and max values.
* Double only w/ min and max values.
* Max text length check.
* Not null check.

It lets you to disable your Save and/or Update buttons on the fly if any wrong input is given, or user skipped a not nullable area.