From aa9b83acb71e0c6090cb763844581bdcd34001fe Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 14 Jun 2023 14:33:56 +0200 Subject: [PATCH] missing method causing a stack overflow --- src/main/java/org/tbee/sway/SButtonPanel.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/tbee/sway/SButtonPanel.java b/src/main/java/org/tbee/sway/SButtonPanel.java index 570043d..4f5d22c 100644 --- a/src/main/java/org/tbee/sway/SButtonPanel.java +++ b/src/main/java/org/tbee/sway/SButtonPanel.java @@ -191,6 +191,10 @@ public enum Alignment {LEADING, TRAILING}; // =================================================================================================== // CONVENIENCE + static public SButtonPanel of() { + return new SButtonPanel(); + } + static public SButtonPanel of(AbstractButton... buttons) { return SButtonPanel.of().add(buttons); }