private PrintCanvas3D(String args[]) { this.setTitle("Canvas3D Print Test");
public PrintCanvas3D(String args[]) {  if (args.length == 0) { usage(); } else { for (int i = 0 ; i < args.length ; i++) { if (args[i].startsWith("-")) { System.err.println("Argument '" + args[i] + "' ignored."); } else { filename = args[i]; } } }  if (filename == null) { usage(); }   JPopupMenu.setDefaultLightWeightPopupEnabled(false); initComponents();
    private PrintCanvas3D(String args[]) {	this.setTitle("Canvas3D Print Test");	// Create and initialize menu bar	JPopupMenu.setDefaultLightWeightPopupEnabled(false);	this.setJMenuBar(createMenuBar());	// Handle the close event	this.addWindowListener(new WindowAdapter() {	    public void windowClosing(WindowEvent winEvent) {		doExit();	    }	});	// Add main panel to top-level frame and make it visible	this.getContentPane().add(new AppPanel(args));	this.pack();	this.setVisible(true);    }