private String removeFromParent(Rack rack) {
        for (int i = 1; i < aisleID; i++) {
            try {
                Aisle aisle = (Aisle) storage.find("A" + i);
                if (aisle == null) {
                    i++;
                    aisle = (Aisle) storage.find("A" + i);
                }
                List<Rack> racks = aisle.getRacks();
                for (int j = 0; j < racks.size(); j++) {
                    Rack rack1 = racks.get(j);
                    if (rack1.equals(rack)) {
                        aisle.removeComponent(rack);
                        return aisle.getCode();

                    }
                }
            } catch (Exception ex) {
                Logger.getLogger(ComponentConfigurator.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
        return null;
    }