• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Combobox Renderer

 
VIJAY Yadlapati
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting a problem using Renderer for Combobox - even though I explicitly set the selectedIndex to -1 or selectedItem to null, it is still displaying some item in the list.
Please help me.
Thanks in advance.
VIJAY Yadlapati
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post the code for your renderer... I'm betting this problem is caused because the renderer doesn't explicitly set the value each time, so if there's some problem it just uses the last value it contained. But I'd have to see the code to be sure.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic