Доработки форм №2.

This commit is contained in:
Programmist73 2022-11-07 21:17:44 +04:00
parent df30a7abc5
commit c70f578cd4

View File

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