Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Editable JComboBox which maintains history...

 
thejaswini ramesh
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I have a requirement to provide an editable combobox in my application which maintains a history of 5 previously typed values.Im not sure there is a combobox model which does this.Can someone tell me how to go about it?
Thanks in advance.
Thejaswini.
 
thejaswini ramesh
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Craig...is thr a simpler way to implement this??Can you tell me if this code is ok because it seems to be doing the job now:
 
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!