code: public Packer setRemainY(final boolean how) {
          if (how == true) {
              gc.gridheight = GridBagConstraints.REMAINDER;
          } else {
              gc.gridheight = 1;
          }
          setConstraints(comp, gc);
          return this;
      }
docs: Add gridWidth=REMAINDER to the constraints for the current component if
  how == true 1 it if false.