Why is itemStateChanged on JComboBox is called twice when changed?

后端 未结 10 1876
忘掉有多难
忘掉有多难 2020-12-03 09:32

I\'m using a JComboBox with an ItemListener on it. When the value is changed, the itemStateChanged event is called twice. The first call, the ItemEvent is showing the origin

10条回答
提交回复
热议问题