miscList.removeElement(mounted); equipmentList.removeElement(mounted);
miscList.remove(mounted); equipmentList.remove(mounted);
    public void removeMisc(String toRemove) {        for (Enumeration i = miscList.elements(); i.hasMoreElements();) {            Mounted mounted = (Mounted)i.nextElement();            if (mounted.getName().equals(toRemove)) {                miscList.removeElement(mounted);                equipmentList.removeElement(mounted);                break;            }        }    }