code: public static void addToGridBag(final Component comp, final JPanel panel, final int gridx, final int gridy,
              final int width, final int height, final int anchor) {
          addToGridBag(comp, panel, gridx, gridy, width, height, anchor, DEFAULT_PADDING);
      }
docs: Adds a component to a panel with a grid bag layout
  
  @param comp
  @param panel
  @param gridx
  @param gridy
  @param width
  @param height
  @param anchor