private static ImageIcon loadJavaInternal(ImageIcon r, Dimension d) {
private static ImageIcon loadJavaInternal(ImageIcon r, Dimension d, boolean noStretch) {
	private static ImageIcon loadJavaInternal(ImageIcon r, Dimension d) {		Image scaled = null;		Dimension newD = getSizeKeepRatio(				new Dimension(r.getIconWidth(), r.getIconHeight()),				d);		scaled = r.getImage().getScaledInstance(newD.width, newD.height, Image.SCALE_FAST);		r.getImage().flush();		r.setImage(scaled);		return r;		/*Iterator iter = ImageIO.getImageReaders(iis);		if (!iter.hasNext()) {			return null;		}		ImageReader reader = (ImageReader)iter.next();		ImageReadParam param = reader.getDefaultReadParam();		reader.setInput(iis, true, false);		IIOMetadata metadata = reader.getImageMetadata(0);		String names[] = metadata.getMetadataFormatNames();		for (int i = 0; i < names.length; i++) {			displayMetadata(metadata.getAsTree(names[i]));		}		param.setSourceRenderSize(d);		BufferedImage image = (BufferedImage) reader.readAsRenderedImage(0, param);		return new ImageIcon(image);*/	}