示例#1
0
 public void start() {
   str1 = l1.getItem(2);
   i1 = l1.getItemCount();
   l2.replaceItem("英语", 2);
   str2 = l3.getSelectedItem();
   repaint();
 }
示例#2
0
 public synchronized void replaceItem(String newValue, int index) {
   awtList.replaceItem(newValue, index);
 }