Доработки форм №2.
This commit is contained in:
parent
df30a7abc5
commit
c70f578cd4
@ -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, "Не удалось добавить объект");
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user