public void unload() { for (GeoBlockEntry e = getHead(), p; (e = e.getNext()) != getTail();) { p = e.getPrev(); e.remove(); e = p; } // FrameMain f = FrameMain.getInstance(); if (f != null) { f.setSelectedGeoCell(null); } }