image = loadImage( url );
String key = url.toString( ); image = getImageRegistry( ).get( key ); if ( image == null ) { image = loadImage( url ); }
	public Image getImage( String uri, boolean refresh )	{		Image image;		URL url = null;		try		{			url = generateURL( uri );			if ( url == null )			{				return null;			}			if ( !refresh && invalidUrlList.contains( url.toString( ) ) )			{				return null;			}			image = loadImage( url );			if ( image == null )			{				if ( !invalidUrlList.contains( url.toString( ) ) )				{					invalidUrlList.add( url.toString( ) );				}			}			else			{				invalidUrlList.remove( url.toString( ) );			}		}		catch ( Exception e )		{			if ( url != null && !invalidUrlList.contains( url.toString( ) ) )			{				invalidUrlList.add( url.toString( ) );			}			return null;		}		return image;	}