public Dimension getMaxDimension() {
		
		int width  = 0;
		int height = 0;
		
		for(int i=0; i<images.length; i++) {
			ImageIcon tempIcon = new ImageIcon(images[i]);
			if(tempIcon.getIconWidth()  > width)  {width  = tempIcon.getIconWidth();}
			if(tempIcon.getIconHeight() > height) {height = tempIcon.getIconHeight();}
		}
		
		return new Dimension(width, height);
		
	}