diff --git a/ProjectStormtrooper/src/FormStormtrooperCollection.java b/ProjectStormtrooper/src/FormStormtrooperCollection.java index 3fc1480..736fd58 100644 --- a/ProjectStormtrooper/src/FormStormtrooperCollection.java +++ b/ProjectStormtrooper/src/FormStormtrooperCollection.java @@ -15,7 +15,6 @@ public class FormStormtrooperCollection extends JFrame { private Dimension dimension; public static CanvasFormStormtrooperCollection _canvasStormtrooper = new CanvasFormStormtrooperCollection(); private static AbstractCompany _company = null; - private Queue _collectionRemovedObjects = new LinkedList<>(); private StorageCollection _storageCollection = new StorageCollection(); private JTextField textBoxCollection = new JTextField(); @@ -61,7 +60,6 @@ public class FormStormtrooperCollection extends JFrame { boolean rockets = new Random().nextBoolean(); boolean bombs = new Random().nextBoolean(); boolean engines = new Random().nextBoolean(); - int typeOfEngine = ((int) ((Math.random() * 3) + 1)); drawingBaseStormtrooper = new DrawingStormtrooper(speed, weight, bodyColor, additionalColor, rockets, bombs, engines, typeOfEngine); break; @@ -97,7 +95,6 @@ public class FormStormtrooperCollection extends JFrame { CreateObject("DrawingBaseStormtrooper"); } }); - createButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { @@ -176,8 +173,6 @@ public class FormStormtrooperCollection extends JFrame { } }); - - buttonAddCollection.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) {