// create application frame visible to the user
final ViewFrame viewFrame = new ViewFrame();
- final ShapeCollection shapeCollection = viewFrame.getView()
+ final ShapeCollection shapeCollection = viewFrame.getViewPanel()
.getContext().getRootShapeCollection();
// add matrix
// add wireframe grid (optional)
shapeCollection.addShape(createGrid());
- final ViewContext context = viewFrame.getView().getContext();
+ final ViewContext context = viewFrame.getViewPanel().getContext();
setAvatarOrientation(context.getAvatar());
context.getKeyboardFocusTracker().setFocusOwner(this);
// Done! World is built. So ensure screen is updated too.
- context.getView().repaintDuringNextViewUpdate();
+ context.getViewPanel().repaintDuringNextViewUpdate();
}
/**