阅读背景:

如何从JComboBox读取String数组索引到JLabel?

来源:互联网 

I have a ComboBox holding a String[]'s values. I have several other String[]'s holding numbers. I want the user to be able to select a item from the ComboBox(holding my String[] names) and according to which one they pick, I want that index associated with one of my other arrays to be printed out in a JLabel for display. Here's what I have so far:I have a ComboBox holding a String[]'s values.




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

分享到: