public void mouseReleased(MouseEvent e) {
			if (layerDrag && (e.getModifiers() & InputEvent.BUTTON1_MASK) != 0) {
				Dimension d = getSize();
				CPArtwork artwork = controller.getArtwork();
				Object[] layers = artwork.getLayers();

				layerDrag = true;
				layerDragY = e.getPoint().y;
				int layerOver = (d.height - layerDragY) / layerH;

				if (layerOver >= 0 && layerOver <= layers.length && layerOver != layerDragNb
						&& layerOver != layerDragNb + 1) {
					artwork.moveLayer(layerDragNb, layerOver);
				}

				layerDrag = false;
				layerDragReally = false;
				repaint();
			}
		}