@Deprecated public void delItem(int position) { toolkit.lockAWT(); try { remove(position); } finally { toolkit.unlockAWT(); } }
@Deprecated public void delItems(int start, int end) { toolkit.lockAWT(); try { for (int i = start; i <= end; i++) { remove(start); } } finally { toolkit.unlockAWT(); } }
public void remove(String item) { toolkit.lockAWT(); try { int index = items.indexOf(item); if (index < 0) { // awt.73=no such item throw new IllegalArgumentException(Messages.getString("awt.73")); // $NON-NLS-1$ } remove(index); } finally { toolkit.unlockAWT(); } }