Does anyone know how I can make an editable JComboBox only allow the user to key 10 characters? Any help is appreciated. Thanks!
posted 15 years ago
Hi, to make a JCombobox..call 'setEditable(true)'.... about restricting to 10 character... sorry I cannot recall now... but in JTextField/JTextArea.. I used something like 'Document Listener' (plz check API) that might be applicable.. i will let u know next saturday