• Post Reply Bookmark Topic Watch Topic
  • New Topic

Editable JComboBox

 
Jennifer Sohl
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I limit the number of characters that a user can key into an editable JComboBox?
Thanks!
 
Dorothy Finkel-Laverty
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about brute force - take the value they put in and substring it before you add it to the combo box?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!