Class UserNameValidator

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.awt.event.FocusListener, java.beans.PropertyChangeListener, java.util.EventListener, javax.swing.event.DocumentListener

    public class UserNameValidator
    extends DefaultTextComponentValidator
    Validator for OSM username.
    • Constructor Detail

      • UserNameValidator

        public UserNameValidator​(javax.swing.text.JTextComponent tc)
        Constructs a new UserNameValidator.
        Parameters:
        tc - the text component used to enter username