public void loadSheet(File file){
		parent.dp.clearTiles();
		//Vector<String> tempImgs = new Vector<ImageIcon>();
		BufferedImage bufferedImage = null;
		try {
			bufferedImage = ImageIO.read(file);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		if(bufferedImage != null){
			int sheetWidth = bufferedImage.getWidth();
			int sheetHeight = bufferedImage.getHeight();
			
			int numTilesX = sheetWidth/tileSize;
			int numTilesY = sheetHeight/tileSize;
			imgs = new ImageIcon[numTilesX * numTilesY];
			
			int imgNum = 0;
			for(int y = 0; y < numTilesY; y++){
				for(int x = 0; x < numTilesX; x++){
					imgs[imgNum] = new ImageIcon(bufferedImage.getSubimage(x * tileSize, y * tileSize, tileSize, tileSize));
					parent.dp.addTile(imgs[imgNum]);
					imgNum++;
				}
			}
		}
		
		setUpTileInfo();
		
		repaint();
		revalidate();
		
		parent.dp.revalidate();
		parent.dp.repaint();
	}