diff --git a/src/main/java/org/minimalj/frontend/impl/swing/toolkit/SwingFrontend.java b/src/main/java/org/minimalj/frontend/impl/swing/toolkit/SwingFrontend.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/minimalj/frontend/impl/swing/toolkit/SwingFrontend.java
+++ b/src/main/java/org/minimalj/frontend/impl/swing/toolkit/SwingFrontend.java
@@ -140,11 +140,7 @@ public class SwingFrontend extends Frontend {
 
 	@Override
 	public IComponent createVerticalGroup(IComponent... components) {
-		if (components.length == 1) {
-			return components[0];
-		} else {
-			return new SwingVerticalGroup(components);
-		}
+		return new SwingVerticalGroup(components);
 	}
 
 	@Override
SwingFrontend: don't optimize vertical group

Layouting is different for a vertical group.