/*
- * Sixth 3D engine demos. Copyright ©2012-2016, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Sixth 3D engine demos. Copyright ©2012-2018, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 3 of the GNU Lesser General Public License
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();