int pos = rootView.getNextVisualPositionFrom(c, offs,
int pos = rootView.getNextVisualPositionFrom(offs,
  public static final int getPositionBelow(JTextComponent c, int offset, int x)    throws BadLocationException  {    View rootView = c.getUI().getRootView(c);    Rectangle r = c.modelToView(offset);    int offs = c.viewToModel(new Point(x, r.y));    int pos = rootView.getNextVisualPositionFrom(c, offs,                                                 Position.Bias.Forward,                                                 SwingConstants.SOUTH,                                                 new Position.Bias[1]);    return pos;  }