if ( item instanceof Template )
if ( item instanceof ReportDesignHandle )
	public void dispose( )	{		super.dispose( );		for ( Iterator it = templates.iterator( ); it.hasNext( ); )		{			Object item = it.next( );			if ( item instanceof Template )			{				( (Template) item ).dispose( );			}					}		if(thumbnailImage != null)		{			thumbnailImage.dispose( );			thumbnailImage = null;		}	}