public BottomPanel(){
		
			
			
			erase = new Button("--Erase--");
		
			setLayout(new GridLayout(5,4,1,1));	
			JSlider Red = new JSlider(JSlider.HORIZONTAL,0,255,0);
			JSlider Green = new JSlider(JSlider.HORIZONTAL,0,255,0);
			JSlider Blue = new JSlider(JSlider.HORIZONTAL,0,255,0);
	
		
			final Label r = new Label("R =  "+Red.getValue());
			final Label g = new Label("G =  "+Green.getValue());
			final Label b = new Label("B =  "+Blue.getValue());
		
			this.add(r);
			this.add(Red);
		
			this.add(g);
			this.add(Green);
		
			this.add(b);
			this.add(Blue);
		
			this.add(erase);
			
				Red.addChangeListener(new ChangeListener() {
					public void stateChanged(ChangeEvent e) {
						JSlider source = (JSlider) e.getSource();
						if (!source.getValueIsAdjusting()) {
							c1.rValue = (int) source.getValue();
							r.setText("R =  "+c1.rValue);
						}
					}
			
				});
				Green.addChangeListener(new ChangeListener(){
					public void stateChanged(ChangeEvent e) {
						JSlider source = (JSlider) e.getSource();
			        	if (!source.getValueIsAdjusting()) {
			        		c1.gValue= (int) source.getValue();
			        		g.setText("G =  "+c1.gValue);
			        	}
					}
				
				});
				Blue.addChangeListener(new ChangeListener(){
					public void stateChanged(ChangeEvent e) {
						JSlider source = (JSlider) e.getSource();
						if (!source.getValueIsAdjusting()) {
							c1.bValue = (int) source.getValue();
							b.setText("B =  "+c1.bValue);
						}
					}
			
				});
				
				erase.addActionListener(new ActionListener(){
					public void actionPerformed(ActionEvent e){
						c1.clearCanvas();
					}
				});
		}