java.awt.headless=true
+ (either via -Djava.awt.headless=true
startup parameter or via System.setProperty("java.awt.headless", "true")
).
+ When you add a shape, you usually specify the dimensions of the shape and the position of the upper left corner of the bounding box for the shape relative to the upper left