private void run() throws IOException {
final ViewFrame viewFrame = new ViewFrame();
- final ShapeCollection geometryCollection = viewFrame.getView()
+ final ShapeCollection geometryCollection = viewFrame.getViewPanel()
.getContext().getRootShapeCollection();
Random random = new Random();
geometryCollection.addShape(textCanvas);
}
- viewFrame.getView().addViewUpdateListener(this);
+ viewFrame.getViewPanel().addViewUpdateListener(this);
}
}