Class DefaultTextComponentValidator

    • Constructor Detail

      • DefaultTextComponentValidator

        public DefaultTextComponentValidator​(javax.swing.text.JTextComponent tc,
                                             java.lang.String validFeedback,
                                             java.lang.String invalidFeedback)
        Constructs a new DefaultTextComponentValidator.
        Parameters:
        tc - the text component. Must not be null.
        validFeedback - text displayed for valid feedback
        invalidFeedback - text displayed for invalid feedback