public Bridge() {
JPanel content = new JPanel();
content.setLayout(null);
shapes.add(new GeoShapes(new Dreieck(0, 0, 100, 100)));
shapes.add(new GeoShapes(new Rechteck(0, 0, 100, 100)));
shapes.add(new GeoShapes(new Kreis(0, 0, 100, 100)));
shapes.get(0).add(new Dreieck(0, 0, 300, 150));
int i = 110;
for (Shape shape : shapes) {
content.add(shape);
shape.setContentPosition(i, i);