panel = new MainPanel(frame);
panel = new MainPanel(frame, args);
	public NV2DMain() {		JFrame frame = new JFrame("NV2D");		panel = new MainPanel(frame);		panel.initialize(null);		frame.setJMenuBar(panel.getView().getMenu());				frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);		frame.pack();		frame.setVisible(true);	}