Removed ViewListener interface. Renamed View to ViewPanel.
[sixth-3d-demos.git] / src / main / java / eu / svjatoslav / sixth / e3d / examples / GraphDemo.java
index 7bcaed7..e2ee634 100644 (file)
@@ -109,7 +109,7 @@ public class GraphDemo {
 
         final ViewFrame viewFrame = new ViewFrame();
 
-        final ShapeCollection geometryCollection = viewFrame.getView()
+        final ShapeCollection geometryCollection = viewFrame.getViewPanel()
                 .getContext().getRootShapeCollection();
 
         Point3D location = new Point3D(-600, -300, 0);
@@ -130,7 +130,7 @@ public class GraphDemo {
         location = new Point3D(600, 300, 0);
         geometryCollection.addShape(getFormula3Graph(location));
 
-        viewFrame.getView().getContext().getAvatar()
+        viewFrame.getViewPanel().getContext().getAvatar()
                 .setLocation(new Point3D(0, 0, -500));
 
     }