public void setDescription(String newDescription) { super.setDescription(newDescription); descriptions = new Vector(); int x = newDescription.toUpperCase().indexOf("<P>"); while (x >= 0) { String s = newDescription.substring(0, x).trim(); if (s.length() > 0) descriptions.addElement(s); newDescription = newDescription.substring(x + 3).trim(); x = newDescription.toUpperCase().indexOf("<P>"); } if (newDescription.length() > 0) descriptions.addElement(newDescription); }