public static String proper( String name )
	{
		if( name.equals( "" ) )
		{
			return "";
		}
		StringBuffer buf = new StringBuffer();
		char[] chars = name.toCharArray();
		buf.append( String.valueOf( chars[0] ).toUpperCase() );
		for( int i = 1; i < chars.length; i++ )
		{
			if( chars[i] == ' ' )
			{
				buf.append( " " );
				i++;
				if( chars[i] != ' ' )
				{
					chars[i] = Character.toUpperCase( chars[i] );
					buf.append( chars[i] );
				}
			}
			else
			{
				buf.append( String.valueOf( chars[i] ).toLowerCase() );
			}
		}
		return buf.toString();
	}