code: public ScreenLocation getNextLocation(short position, short setNewAnchor)
      {
          if (position == ScreenConstants.NEXT_LOGICAL)
              position = ScreenConstants.RIGHT_OF_LAST;
          if (position == ScreenConstants.FIRST_LOCATION)
              position = ScreenConstants.FIRST_DISPLAY_LOCATION;
          if (position == ScreenConstants.ADD_SCREEN_VIEW_BUFFER)
              position = ScreenConstants.ADD_GRID_SCREEN_BUFFER;      // No buffer around frame!
          return super.getNextLocation(position, setNewAnchor);
      }
docs: Code this position and Anchor to add it to the LayoutManager.
  @param position The location constant (see ScreenConstants).
  @param setNewAnchor The anchor constant.
  @return The new screen location object.