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下拉列表中呢
已采纳
将数组的值传递给combobox下拉
- 写回答
- 好问题 提建议
- 追加酬金
- 关注问题
- 分享
- 邀请回答