From 366c6e94bc3e062c5ea41005b8df9cc605149e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D1=8C=D1=8F?= <Илья@WIN-RANNDDD> Date: Tue, 5 Dec 2023 14:37:54 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BD=20=D0=BB=D0=B8?= =?UTF-8?q?=D1=88=D0=BD=D0=B8=D0=B9=20=D0=BF=D1=80=D0=BE=D0=B1=D0=B5=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/projectMonorail/PictureBoxRandomGeneration.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/projectMonorail/PictureBoxRandomGeneration.java b/src/projectMonorail/PictureBoxRandomGeneration.java index 5ad3605..831cd19 100644 --- a/src/projectMonorail/PictureBoxRandomGeneration.java +++ b/src/projectMonorail/PictureBoxRandomGeneration.java @@ -26,7 +26,6 @@ public class PictureBoxRandomGeneration extends JPanel { buttonRandomCreation.setVerticalTextPosition(JButton.CENTER); buttonRandomCreation.setAlignmentX(Component.CENTER_ALIGNMENT); - buttonRandomCreation.addActionListener(e -> { drawingLocomotive = randomGeneric.getDrawingLocomotive(); repaint();