• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help: problem with edited JComboBox and FocusListener

 
Peter Primrose
Ranch Hand
Posts: 755
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

is there any limitation with an edited JComboBox?

This works:
When the user clicks on the UNedited JComoBox , all the information is shown. The datais taken by focus listener from the database..

This DOESNT work:
but when I switch it to an edited JComboBox (setEditable(true) - no data is shown???!

does anyone know about this problem?

Thanks
Ppr
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer is in the last paragraph before the section Using an Editable Combo Box on the page How to Use Combo Boxes in the java tutorial.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!