5859606162636465666768
while (enumer.hasMoreElements()) { Object listElem = enumer.nextElement(); if (listElem instanceof FileSocket) { //Ensures sanity FileSocket fs = ((FileSocket) listElem); fs.reportError = false; fs.haltNow(); } } } /*
9899100101102103104105106107108
.getSelectedIndices(); for (int i = 0; i < selectedIx.length; i++) { FileSocket sel = (FileSocket) AwtShared.conList .getModel().getElementAt(selectedIx[i]); sel.reportError = false; sel.haltNow(); } } } catch (HeadlessException he) { he.printStackTrace(); }