public class UserNameValidator extends DefaultTextComponentValidator
| Constructor and Description |
|---|
UserNameValidator(javax.swing.text.JTextComponent tc)
Constructs a new
UserNameValidator. |
isValid, validateactionPerformed, changedUpdate, feedbackDisabled, feedbackInvalid, feedbackValid, focusGained, focusLost, getComponent, insertUpdate, propertyChange, removeUpdatepublic UserNameValidator(javax.swing.text.JTextComponent tc)
UserNameValidator.tc - the text component used to enter username