@Override
			public void stateChanged(ChangeEvent arg0) {
				if(arg0.getSource() instanceof JSlider){
					JSlider slider = (JSlider)arg0.getSource();
					float scale = (float)slider.getValue()/100;
					List<PhotoPanel> ppList = view.getPhotoPanels();
					for(int i=0;i<ppList.size();i++){
						Image image = ppList.get(i).getIcon().getImage();
						Dimension d = ppList.get(i).getScaleDimension();
						BufferedImage bi = ImageUtils.resize(image, Math.round(d.width*scale),
								Math.round(d.height*scale));
						ImageIcon icon2 = new ImageIcon(bi);
						view.getPhotoPanels().get(i).setIcon(icon2);
					}
				}
			}