public MainViewPanel() {
		super();
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		setBackground(Color.WHITE);
		
		for (int i = 0; i < paintings.length; i++)
			paintings[i] = new Painting();
		
		for(int i = 0; i< graphics.length; i++)
			graphics[i] = paintings[i].createGraphics(); 

		for (int i = 0; i < sliders.length; i++) {
			sliders[i] = new JSlider(JSlider.HORIZONTAL, 0, 10, 5);
			sliders[i].setBackground(Color.WHITE);
			sliders[i].setMajorTickSpacing(1);
			sliders[i].setPaintTicks(true);
			sliders[i].setPaintLabels(true);
		}
		
		add(Box.createRigidArea(new Dimension(x, y)));

		JPanel pan2 = new JPanel(new FlowLayout(FlowLayout.CENTER, 60, 0));
		pan2.setBackground(Color.WHITE);
		for (int i = 0; i < 4; i++)
			pan2.add(sliders[i]);
		add(pan2);

		add(Box.createRigidArea(new Dimension(x, y)));

		JPanel pan4 = new JPanel(new FlowLayout(FlowLayout.CENTER, 60, 0));
		pan4.setBackground(Color.WHITE);
		for (int i = 4; i < sliders.length; i++)
			pan4.add(sliders[i]);
		
		add(pan4);
	}