Examples of JCanvas3D


Examples of com.sun.j3d.exp.swing.JCanvas3D

    this.object3dFactory = object3DFactory;

    if (Boolean.valueOf(System.getProperty("com.eteks.sweethome3d.j3d.useOffScreen3DView", "false"))) {
      GraphicsConfigTemplate3D gc = new GraphicsConfigTemplate3D();
      gc.setSceneAntialiasing(GraphicsConfigTemplate3D.PREFERRED);
      this.component3D = new JCanvas3D(gc) {
          public void paintComponent(Graphics g) {
            super.paintComponent(g);
            g.drawImage(navigationPanelImage, 0, 0, this);
          }
        };
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.