dropTarget = new DropTarget(allLayers[i], DnDConstants.ACTION_MOVE, this);
new DropTarget(allLayers[i], DnDConstants.ACTION_MOVE, this);
    public void setLayers(Layer[] allLayers) {        DropTarget dropTarget;        // remove old layers list        layers.clear();        for (int i = 0; i < allLayers.length; i++) {            // create a new drop target            dropTarget = new DropTarget(allLayers[i], DnDConstants.ACTION_MOVE, this);            if (allLayers[i] instanceof OMGraphicHandlerLayer) {                Debug.message("DnDCatcher", "Layers changed");                // keep a reference to potential drop target                layers.put(allLayers[i].getName(), allLayers[i]);            }        }    }