diff --git a/src/gui/ElevatorPanel.java b/src/gui/ElevatorPanel.java index 71cbdf8..8c9fd8a 100644 --- a/src/gui/ElevatorPanel.java +++ b/src/gui/ElevatorPanel.java @@ -4,6 +4,7 @@ import java.awt.*; import java.awt.event.*; +@SuppressWarnings("serial") class ElevatorPanel extends JPanel { private JButton emergencyStop = new JButton("Emergency stop."); private JButton[] buttons; diff --git a/src/gui/FloorPanels.java b/src/gui/FloorPanels.java index 25e58c6..3c54ef6 100644 --- a/src/gui/FloorPanels.java +++ b/src/gui/FloorPanels.java @@ -4,6 +4,7 @@ import java.awt.*; import java.awt.event.*; +@SuppressWarnings("serial") class FloorPanels extends JPanel { private int nbFloors; private JPanel[] floors;