Код: Выделить всё
var n = new RectangularNode();
n.setVisible(true);
n.setPos(20, 20, 0);
n.setSize(500, 500);
n.setFillColor(new Color(40, 40, 40));
level.add(n)
Код: Выделить всё
level : Markup element is already initialized and cannot be modified. Please use constructor without arguments, perform setup and finally call initialize() function.
Подробнее здесь: https://stackoverflow.com/questions/792 ... n-anylogic
Мобильная версия