SimpleDateFormat sdf= new SimpleDateFormat("yyyy");
int ti=Integer.parseInt(sdf.format(new java.util.Date()));
String[] year = new String[5];
for(int i=0;i<5;i++){
int y=ti-i;
year[i]=y+"";
}
这段代码中 我得到了一个数组year[];
如何将这个数组的值传递到easyUI中的combobox下拉列表中呢
![](https://profile-avatar.csdnimg.cn/eb9d47237af6466bac1809d67fe99f7e_u013250163.jpg!4)
将数组的值传递给combobox下拉
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-