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