private void removeItem(System.Object item) { if (items != null) { List temp = new LinkedList(); List litems = (List)item; for (int idx = 0; idx < litems.size(); idx++) { System.Object tmpItem = litems.get(idx); if (!tmpItem.Equals(item)) { temp.add(tmpItem); } } items = temp.toArray(); fireContentsChanged(this, 0, items.Length); } }
private void removeItem(System.Object item) { if (items != null) { List temp = new LinkedList(); List litems = (List) item; for (int idx = 0; idx < litems.size(); idx++) { System.Object tmpItem = litems.get(idx); if (!tmpItem.Equals(item)) { temp.add(tmpItem); } } items = temp.toArray(); fireContentsChanged(this, 0, items.Length); } }