I’ve got an JComboBox with a custom inputVerifyer set to limit MaxLength when it’s set to editable.
The verify method never seems to get called.
The same verifyer gets invoked on a JTextField fine.
What might I be doing wrong?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I found a workaround. I thought I’d let the next person with this problem know about.
Basically. Instead of setting the inputVerifier on the ComboBox you set it to it’s ‘Editor Component’.