public Canvas(Paint paint) {

		// setBackground(new Color(Color.TRANSLUCENT));

		// use buffered image b/c when you call repaint the canvas will clear -
		// so need to draw to image and then draw that to canvas
		// A = alpha = transparent pixels
		layers = new BufferedImage[4];
		for (int i = 0; i < 4; i++) {
			layers[i] = new BufferedImage(800, 600, BufferedImage.TYPE_INT_ARGB);
		}

		setColor(Color.GREEN);
		layerSelected = 0;
		stroke = 5;
		counter = 0;
		clear = false;

		addDrawListener(new DrawBrush(this));
		addMouseWheelListener(this);

		optionsPanel = new OptionsPanel(this);
		paint.add(optionsPanel, BorderLayout.NORTH);

		detailsPanel = new DetailsPanel(this);
		paint.add(detailsPanel, BorderLayout.SOUTH);

	}