code: public ScreenLocation getNextLocation(short position, short setNewAnchor)
      {
          if (position == ScreenConstants.FIRST_LOCATION)
              position = ScreenConstants.FIRST_FRAME_LOCATION;
          if (position == ScreenConstants.NEXT_LOGICAL)
              position = ScreenConstants.BELOW_LAST_CONTROL;      // Stack all screens (should only be applet)
          if (position == ScreenConstants.ADD_SCREEN_VIEW_BUFFER)
              position = ScreenConstants.ADD_VIEW_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.