Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Item State Change event is not noted.

 
Vikram Deshmukh
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For item change of a combo box, sometimes it is firing the event & sometimes not.
There is no remove item listener method in my class.
This behaviour is observed while, in a form the same item is selected successively.
Any idea ?
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the itemChanged event will only be fired when the selection changed. if your selecting the same item over and over again the item is not changing actually. an actionlistener might fire the kind of event your looking for.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!