From c70f578cd41f93d8f46721aae0eba2fe6e95feb1 Mon Sep 17 00:00:00 2001 From: Programmist73 Date: Mon, 7 Nov 2022 21:17:44 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B8=20=D1=84=D0=BE=D1=80=D0=BC=20=E2=84=962.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Project/src/FormParam.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Project/src/FormParam.java b/Project/src/FormParam.java index 7a7be63..289ecd3 100644 --- a/Project/src/FormParam.java +++ b/Project/src/FormParam.java @@ -85,6 +85,7 @@ public class FormParam extends JFrame Color colorCorpus = JColorChooser.showDialog(null, "Выбор цвета", null); EntityPlane plane = new EntityPlane(rnd.nextInt(100, 300), rnd.nextInt(1000, 2000), colorCorpus); IAdditionalDrawingObject addWindows = SetData(); + int countWindows = rnd.nextInt(1, 4); addWindows.SetAddEnum(countWindows); @@ -98,6 +99,7 @@ public class FormParam extends JFrame { JOptionPane.showMessageDialog(null, "Не удалось добавить объект"); } + } });