Exemple #1
0
 public void add(String item) {
   toolkit.lockAWT();
   try {
     add(item, -1);
   } finally {
     toolkit.unlockAWT();
   }
 }
Exemple #2
0
 @Deprecated
 public void addItem(String item, int index) {
   toolkit.lockAWT();
   try {
     add(item, index);
   } finally {
     toolkit.unlockAWT();
   }
   return;
 }