From 0190f57a9cdca2d91917d9f3d35a5640d52608d3 Mon Sep 17 00:00:00 2001 From: Zakharov_Rostislav Date: Sat, 11 Nov 2023 18:15:09 +0400 Subject: [PATCH] lab3 some minor fixes --- src/frames/HardFrame.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/frames/HardFrame.java b/src/frames/HardFrame.java index af62889..41fd58f 100644 --- a/src/frames/HardFrame.java +++ b/src/frames/HardFrame.java @@ -35,7 +35,6 @@ public class HardFrame extends JFrame { do { check = generic.insertBlock(generic.makeRandomBlock()); }while(check); - buttonMakeObject.addActionListener(e -> { DrawingShip drawingShip = generic.makeObject(); drawingShip.setPosition(pictureBoxWidth / 2 - drawingShip.getWidth()/2, pictureBoxHeight / 2 - drawingShip.getHeight()/2);