else
}else {
  public String getInfo () {    StringBuffer ret=new StringBuffer();    ret.append("<html>");    String prefix="";    int type=getType();    boolean multipleLegs=multipleLegs();    switch(type){    case TYPE_POSITIONING:      prefix="Position ";      break;    case TYPE_RETURNING:      prefix="Return ";      break;    case TYPE_TRANSPORTING:      prefix="Transport ";      break;    case TYPE_AGGREGATE:      prefix="Aggregate ";      break;    }    ret.append(openFont(descriptiveFontColor));    if(multipleLegs){      ret.append(" Multiple ");      if(type!=TYPE_AGGREGATE)	ret.append(prefix);    }else{      ret.append(prefix);    }    ret.append(closeFont());    ret.append(openFont(lightFontColor));    if(multipleLegs)      ret.append("legs for ");    else      ret.append("leg for ");    ret.append(closeFont());    ret.append(openFont(getModeFontColor(getMode())) +	       carrierType + " "+ carrierName + closeFont());    if(multipleLegs){      ret.append("");    }else{      LegInfo li;      if(forwardLegInfoList.size()>0)	li=(LegInfo)forwardLegInfoList.get(0);      else	li=(LegInfo)backwardLegInfoList.get(0);      ret.append(openFont(lightFontColor)+" from " +closeFont()+ 		 openFont(dateFontColor) + 		 formatter.format(li.getStart()) + closeFont()+		 openFont(lightFontColor)+" to " + closeFont()+ 		 openFont(dateFontColor)+ 		 formatter.format(li.getEnd()) + closeFont());    }    ret.append(openFont(lightFontColor));    ret.append(": Right click for details");    ret.append(closeFont());    ret.append("</html>");    return ret.toString();  }