for (int i = 0; i < m_courses.length; i++)
StringBuffer tab = new StringBuffer(); String[] fields;   fields = courseId.split(","); if (fields.length == 6)
	public String getCourseName(String courseId)	{		for (int i = 0; i < m_courses.length; i++)		{			if (m_courses[i].getId().equals(courseId))			{				return m_courses[i].getTitle();			}		}		return null;	}