String ss = s.substring( i, j ).trim( );
String ss = s.substring( i, j );
	private String[] splitOnBreaks( String s, double maxSize )	{		List al = new ArrayList( );		// check hard break first		int i = 0, j;		do		{			j = s.indexOf( '\n', i );			if ( j == -1 )			{				j = s.length( );			}			String ss = s.substring( i, j ).trim( );			if ( ss != null && ss.length( ) > 0 )			{				al.add( ss );			}			i = j + 1;		} while ( j != -1 && j < s.length( ) );		// check wrapping		if ( maxSize > 0 )		{			TextLayout tl = new TextLayout( ( (SwtDisplayServer) ids ).getDevice( ) );			tl.setFont( getFont( ) );			tl.setWidth( (int) maxSize );			List nal = new ArrayList( );			for ( Iterator itr = al.iterator( ); itr.hasNext( ); )			{				String ns = (String) itr.next( );				tl.setText( ns );				int[] offsets = tl.getLineOffsets( );				String ss;				for ( i = 1; i < offsets.length; i++ )				{					ss = ns.substring( offsets[i - 1], offsets[i] );					nal.add( ss );				}			}			tl.dispose( );			al = nal;		}		final int n = al.size( );		if ( n == 1 || n == 0 )		{			return null;		}		final String[] sa = new String[n];		for ( i = 0; i < al.size( ); i++ )		{			sa[i] = (String) al.get( i );		}		return sa;	}