void (final GroupLayout.Group hGroup, final GroupLayout.Group vGroup, final @Nullable Collection<? super Component> collection, final Component... components) { for (Component component : components) { hGroup.addComponent(component); vGroup.addComponent(component); if (collection != null) collection.add(component); } }