JComponent (@NotNull List<? extends JComponent> components, @NotNull JBValue vGap) { JPanel panel = new JPanel(new VerticalLayout(vGap, VerticalLayout.FILL)); for (JComponent component : components) { panel.add(component); } return panel; }