public void itemStateChanged (ItemEvent evt)
	{
		if (evt.getSource() == cbmi100)
		{
			appParent.intImageSizePalette = appParent.intImageOriginalSize;
			cbmi100.setState(true);
			cbmi75.setState(false);
			cbmi50.setState(false);
			cbmi25.setState(false);
		} else if (evt.getSource() == cbmi75)
		{
			appParent.intImageSizePalette = (appParent.intImageOriginalSize * 3)/4;
			cbmi100.setState(false);
			cbmi75.setState(true);
			cbmi50.setState(false);
			cbmi25.setState(false);
		} else if (evt.getSource() == cbmi50)
		{
			appParent.intImageSizePalette = appParent.intImageOriginalSize/2;
			cbmi100.setState(false);
			cbmi75.setState(false);
			cbmi50.setState(true);
			cbmi25.setState(false);
		} else if (evt.getSource() == cbmi25)
		{
			appParent.intImageSizePalette = appParent.intImageOriginalSize/4;
			cbmi100.setState(false);
			cbmi75.setState(false);
			cbmi50.setState(false);
			cbmi25.setState(true);
		}
		appParent.imgMapPalette = appParent.imgOriginalMap.getScaledInstance(-1,appParent.intImageSizePalette,Image.SCALE_DEFAULT);
		try
		{
			MediaTracker mdtTracker = new MediaTracker(appParent.frame);
			mdtTracker.addImage(appParent.imgMapPalette,0);
			mdtTracker.waitForAll();
		}catch(Exception e)
		{
			System.err.println("Error while waiting for images: "+e.toString());
		}
		int intX = 25 * appParent.intImageSizePalette;
		int intY = ((appParent.numMapImages / 25) + 1) * appParent.intImageSizePalette;
		setSize(new java.awt.Dimension(intX+(getInsets().left+getInsets().right), intY+(getInsets().top+getInsets().bottom)));
		pnlGraphics.setSize(new java.awt.Dimension(intX, intY));
		if (appParent.imgPalette != null)
			appParent.imgPalette.flush();
		appParent.imgPalette = appParent.frmPalette.pnlGraphics.createImage(intX, intY);
		appParent.gD_p = appParent.imgPalette.getGraphics();
		appParent.g_p = appParent.frmPalette.pnlGraphics.getGraphics();
		appParent.update();
		appParent.paint(appParent.g);
	}