Removed ViewListener interface. Renamed View to ViewPanel.
[sixth-3d-demos.git] / src / main / java / eu / svjatoslav / sixth / e3d / examples / RandomPolygonsDemo.java
index 5ff3bfd..7534148 100755 (executable)
@@ -61,7 +61,7 @@ public class RandomPolygonsDemo {
 
         final ViewFrame viewFrame = new ViewFrame();
 
-        final ShapeCollection shapeCollection = viewFrame.getView()
+        final ShapeCollection shapeCollection = viewFrame.getViewPanel()
                 .getContext().getRootShapeCollection();
 
         // add grid