阅读背景:

如何让多个具有相同项目但选择一个项目的jComboBox使该项目在所有其他jComboBox中消失?

来源:互联网 

So, here's the problem: I need 3 or more jComboBoxes (all with same items) to be connected to one another so that when I select one item in any jComboBox, that item will disappear in all other jComboBoxes. Concrete example: Poker game is over. Now I need to save the players places. I have jComboBoxes (which represent places) populated with profiles of players and I want to make sure only one profile can be selected throughout jComboBoxes. I tried something on my own and gotten this far. As you will see, it's totally useless...So, here's the problem: I need 3 or more jCombo




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

分享到: