This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
Does anyone know how I can make an editable JComboBox only allow the user to key 10 characters? Any help is appreciated. Thanks!
posted 14 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