Adds anItemListener
.
aListener
will receive one or twoItemEvent
s when the selected item changes.
I understand Swing is a huge framework and it has its rough edges...but this? It certainly looks like someone couldn't fix this strange behavior, and desided to make it a documented feature instead. Way to go!
I could not see the line "Adds an ItemListener.
ReplyDeleteaListener will receive one or two ItemEvents when the selected item changes." in the document that you have pointed to.
Hmm. Very strange. These looked like real javadocs, but they seem fake after all. I'm fixing the link to point to Sun's javadocs, thanks.
ReplyDelete