diff --git a/src/main/java/com/vamk/tbg/ui/ButtonContainer.java b/src/main/java/com/vamk/tbg/ui/ButtonContainer.java index 2a1483d..98e4ccc 100644 --- a/src/main/java/com/vamk/tbg/ui/ButtonContainer.java +++ b/src/main/java/com/vamk/tbg/ui/ButtonContainer.java @@ -16,12 +16,15 @@ import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.GridLayout; +import java.io.Serial; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class ButtonContainer extends JPanel implements Tickable { + @Serial + private static final long serialVersionUID = -1848838910296723317L; // TODO remove static instance private static ButtonContainer instance; private final Awaitable entity; diff --git a/src/main/java/com/vamk/tbg/ui/EntityDataContainer.java b/src/main/java/com/vamk/tbg/ui/EntityDataContainer.java index 5c0ad26..75f3d2e 100644 --- a/src/main/java/com/vamk/tbg/ui/EntityDataContainer.java +++ b/src/main/java/com/vamk/tbg/ui/EntityDataContainer.java @@ -10,10 +10,13 @@ import javax.swing.JPanel; import java.awt.GridLayout; +import java.io.Serial; import java.util.HashMap; import java.util.Map; public class EntityDataContainer extends JPanel { + @Serial + private static final long serialVersionUID = -7455891810519039109L; private final Map entityData; public EntityDataContainer(SignalDispatcher dispatcher) { diff --git a/src/main/java/com/vamk/tbg/ui/GameWindow.java b/src/main/java/com/vamk/tbg/ui/GameWindow.java index d6cd521..460a234 100644 --- a/src/main/java/com/vamk/tbg/ui/GameWindow.java +++ b/src/main/java/com/vamk/tbg/ui/GameWindow.java @@ -9,8 +9,11 @@ import java.awt.GridLayout; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; +import java.io.Serial; public class GameWindow extends JFrame implements WindowListener { + @Serial + private static final long serialVersionUID = 3210313597488494598L; private final JLabel entityLabel; private final Runnable shutdownHook;