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, "Не удалось добавить объект"); } + } });