public AbstractShapePropertiesDialogBox(Frame parent, JPropertiesPanel panel, String title, List shapes,
ShapesDiagramComponent shapeComponent) {
super(parent, title, false);
// Create content
headerPanel = new HeaderPanel();
content = panel;
content.setOwner(this);
content.setProperties( (AbstractShape)shapes.get(0) ); // Initalize content panel with first shape properties.