public static void main(final String[] args) {
final ViewFrame viewFrame = new ViewFrame();
- final ViewContext context = viewFrame.getView().getContext();
+ final ViewContext context = viewFrame.getViewPanel().getContext();
final ShapeCollection geometryCollection = context
.getRootShapeCollection();