suppress serialization warnings

This commit is contained in:
cyril-colin 2019-10-14 08:45:09 +02:00
parent 30e28253b9
commit 78e40e13bd
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -4,6 +4,7 @@ import java.awt.*;
import java.awt.event.*;
@SuppressWarnings("serial")
class FloorPanels extends JPanel {
private int nbFloors;
private JPanel[] floors;