Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Add DocumentFilter to EditableComboBox?  RSS feed

 
Anthony Schmitt
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to get a combobox that is sometimes editable, (depending on if one of several radio buttons is selected,)
to change all letters entered to Uppercase when keyed.

Apparently I need to set a DocumentFilter like for a JTextField, but this doesn't seem to work. What am I missing? Is there a simpler way of going about this?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> but this doesn't seem to work

*WHAT* doesn't seem to work

i.e. exactly what have you done, and what happens --> errors/nothing happens etc.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!