diff --git a/src/main/java/tool/arenasizer/LabelWithSignedNumber.java b/src/main/java/core/gui/LabelWithSignedNumber.java similarity index 97% rename from src/main/java/tool/arenasizer/LabelWithSignedNumber.java rename to src/main/java/core/gui/LabelWithSignedNumber.java index 86cff32f9..624a672be 100644 --- a/src/main/java/tool/arenasizer/LabelWithSignedNumber.java +++ b/src/main/java/core/gui/LabelWithSignedNumber.java @@ -1,4 +1,4 @@ -package tool.arenasizer; +package core.gui; import core.gui.theme.HOColorName; import core.gui.theme.ThemeManager; @@ -15,7 +15,7 @@ import static org.apache.commons.lang3.StringUtils.EMPTY; import static org.apache.commons.lang3.compare.ComparableUtils.is; -class LabelWithSignedNumber extends JLabel { +public class LabelWithSignedNumber extends JLabel { private static final String PLUS_SIGN = "+"; diff --git a/src/main/java/tool/arenasizer/ArenaInfoPanel.java b/src/main/java/tool/arenasizer/ArenaInfoPanel.java index 9393d182a..5271874d7 100644 --- a/src/main/java/tool/arenasizer/ArenaInfoPanel.java +++ b/src/main/java/tool/arenasizer/ArenaInfoPanel.java @@ -11,8 +11,8 @@ import java.math.RoundingMode; import java.util.Optional; +import static core.gui.LabelWithSignedNumber.percentString; import static org.apache.commons.lang3.StringUtils.EMPTY; -import static tool.arenasizer.LabelWithSignedNumber.percentString; public class ArenaInfoPanel extends JPanel { diff --git a/src/main/java/tool/arenasizer/CapacityPanel.java b/src/main/java/tool/arenasizer/CapacityPanel.java index c9431ee6b..60a0b9188 100644 --- a/src/main/java/tool/arenasizer/CapacityPanel.java +++ b/src/main/java/tool/arenasizer/CapacityPanel.java @@ -1,5 +1,6 @@ package tool.arenasizer; +import core.gui.LabelWithSignedNumber; import core.model.HOVerwaltung; import javax.imageio.ImageIO;