void (@NotNull JPanel panel, @NotNull GridBagConstraints gc, @NotNull JComponent label) { gc.gridy++; gc.gridx = labelAbove ? 0 : 1; gc.insets = labelAbove ? JBUI.insets(-1, 13, 0, 13) : JBUI.insets(-1, 12, 0, 13); gc.weightx = 1.0; gc.anchor = GridBagConstraints.LINE_START; gc.fill = GridBagConstraints.HORIZONTAL; panel.add(label, gc); }