vking661楼主你的代码看不懂呀
--Choice的--
getChoice1().getSelectedItem()//取选中的值
转换成String 类型
String str=getChoice1().getSelectedItem().toString();
----JComboBox的--
转换成int 类型
int str2=Integer.parseInt(getJComboBox().getSelectedItem().toString());
text.setText(str);
这就ok拉