Доработки форм №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);
|
Color colorCorpus = JColorChooser.showDialog(null, "Выбор цвета", null);
|
||||||
EntityPlane plane = new EntityPlane(rnd.nextInt(100, 300), rnd.nextInt(1000, 2000), colorCorpus);
|
EntityPlane plane = new EntityPlane(rnd.nextInt(100, 300), rnd.nextInt(1000, 2000), colorCorpus);
|
||||||
IAdditionalDrawingObject addWindows = SetData();
|
IAdditionalDrawingObject addWindows = SetData();
|
||||||
|
|
||||||
int countWindows = rnd.nextInt(1, 4);
|
int countWindows = rnd.nextInt(1, 4);
|
||||||
addWindows.SetAddEnum(countWindows);
|
addWindows.SetAddEnum(countWindows);
|
||||||
|
|
||||||
@ -98,6 +99,7 @@ public class FormParam extends JFrame
|
|||||||
{
|
{
|
||||||
JOptionPane.showMessageDialog(null, "Не удалось добавить объект");
|
JOptionPane.showMessageDialog(null, "Не удалось добавить объект");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user