阅读背景:

JComboBox,当我需要在状态(不必是新的)之后捕获鼠标时会选择什么样的监听器?

来源:互联网 

Can't use an ItemListener because my JComboBox items are generated dinamically so that would generate exceptions when the list is empty. I need to catch basically the state after a mouse click event on an item (the problem with MouseListener is that it catches the event even when I open the list of items in the JComboBox). because my JComboBox




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: