public PrintFromButton () { }
public PrintFromButton() {  JPopupMenu.setDefaultLightWeightPopupEnabled(false); initComponents();   scene = createSceneGraph();   OnScreenCanvas3D onScreenCanvas = createOnScreenCanvasAndUniverse(); drawingPanel.add(onScreenCanvas, java.awt.BorderLayout.CENTER);   offScreenCanvas = createOffScreenCanvas();   Screen3D sOn = onScreenCanvas.getScreen3D(); Screen3D sOff = offScreenCanvas.getScreen3D(); sOff.setSize(sOn.getSize()); sOff.setPhysicalScreenWidth(sOn.getPhysicalScreenWidth()); sOff.setPhysicalScreenHeight(sOn.getPhysicalScreenHeight());   View view = univ.getViewer().getView(); view.addCanvas3D(offScreenCanvas);  univ.addBranchGraph(scene); }
  public PrintFromButton ()  {  }