public void paintComponent(Graphics g) {
			Graphics g2 = g.create();

			Dimension d = getSize();
			CPArtwork artwork = controller.getArtwork();
			Object[] layers = artwork.getLayers();

			g2.setColor(new Color(0x606060));
			g2.fillRect(0, 0, d.width, d.height - layers.length * layerH);

			g2.setColor(Color.black);
			g2.translate(0, d.height - layerH);
			for (int i = 0; i < layers.length; i++) {
				drawLayer(g2, (CPLayer) layers[i], i == artwork.getActiveLayerNb());
				g2.translate(0, -layerH);
			}

			if (layerDragReally) {
				g2.translate(0, layers.length * layerH - (d.height - layerH));
				g2.drawRect(0, layerDragY - layerH / 2, d.width, layerH);

				int layerOver = (d.height - layerDragY) / layerH;
				if (layerOver <= layers.length && layerOver != layerDragNb && layerOver != layerDragNb + 1) {
					g2.fillRect(0, d.height - layerOver * layerH - 2, d.width, 4);
				}
			}
		}