阅读背景:

共享两个组合框的数据源

来源:互联网 

I have multiple comboboxes in my GUI which all need to have the data. This data will change at random so a quick way to keep all values synced is needed. I encountered DefaultComboBoxModel which actually fits quite perfect. Only thing is, that I need the comboboxes to be independent of each other - meaning: if I select a value on one, all others shouldn't change. I've done a bit of research and read the standard java tutorials but none tell me really how to achieve this with the DefaultComboBoxModel.I have multiple comboboxes in my GUI which all




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

分享到: