232233234235236237238239240241242
Component[] comps = getComponents(); for (Component comp : comps) { if (comp instanceof DragLabel) { DragLabel label = (DragLabel) comp; label.removeMouseListener(this); label.removeMouseMotionListener(this); } } } /**