FormBuilder (@Nullable JComponent label, @NotNull JComponent component, int topInset, boolean labelOnTop) { boolean fillVertically = component instanceof JScrollPane; return addLabeledComponent(label, component, topInset, labelOnTop, fillVertically); }