} else ret = createDefaultLocation(a, bias);
  public Shape modelToView(int pos, Shape a, Position.Bias bias)    throws BadLocationException  {    int childIndex = getViewIndex(pos, bias);    Shape ret = null;    if (childIndex != -1)      {        View child = getView(childIndex);        Shape childAlloc = getChildAllocation(childIndex, a);        if (childAlloc == null)          ret = createDefaultLocation(a, bias);        Shape result = child.modelToView(pos, childAlloc, bias);        if (result != null)          ret = result;        else          ret =  createDefaultLocation(a, bias);      }    else      ret = createDefaultLocation(a, bias);    return ret;  }