if ( cheatSheetText.getText( ).trim( ).length( ) == 0 ) { setErrorMessage( null ); setPageComplete( true ); } else if ( !new File( cheatSheetText.getText( ) ).exists( ) ) { setErrorMessage( Messages.getFormattedString( CHEATSHEET_ERROR, new String[]{cheatSheetText.getText( )} ) ); setPageComplete( false ); return; } else
	private void validate( )	{		if ( previewImageText.getText( ).trim( ).length( ) == 0 )		{			setErrorMessage( null );			setPageComplete( true );		}		else if ( !new File( previewImageText.getText( ) ).exists( ) )		{			setErrorMessage( Messages.getFormattedString( IMAGE_ERROR,					new String[]{previewImageText.getText( )} ) );			setPageComplete( false );			return;		}		else		{			setErrorMessage( null );			setPageComplete( true );		}		if ( cheatSheetText.getText( ).trim( ).length( ) == 0 )		{			setErrorMessage( null );			setPageComplete( true );		}		else if ( !new File( cheatSheetText.getText( ) ).exists( ) )		{			setErrorMessage( Messages.getFormattedString( CHEATSHEET_ERROR,					new String[]{cheatSheetText.getText( )} ) );			setPageComplete( false );			return;		}		else		{			setErrorMessage( null );			setPageComplete( true );		}	}