_view = new NGUI(this, rootPaneContainer);  _view.addComponent(_viewFactory.getHistoryPane(), "History", ViewInterface.SIDE_PANEL); _view.addComponent(_viewFactory.getLayoutPane(), "Layout", ViewInterface.BOTTOM_PANEL);  ((JComponent) _view.gui()).setPreferredSize(new Dimension(700, 500));
_view = new NGUI(this, rootPaneContainer, _argSideVisible, _argBottomVisible); _view.setPreferredSize(700, 500);
	public MainPanel(RootPaneContainer rootPaneContainer) {		/* setDefaultFont() sets the system-wide font to size 10 which is smaller		 * than the Java default.  This must be the first thing done before GUI		 * objects are instantiated for the changes to go into effect.		 */		NGUI.setDefaultFont();		/* initialize the history mechanism */		_history = new DefaultListModel();				/* Important: this must be the order (loadmodules then renderbox as last two) */		_pm = new NPluginManager();		_filter = new DefaultFilter();		_r = new RenderBox(this);		_viewFactory = new ViewFactory(this);		_view = new NGUI(this, rootPaneContainer);				_view.addComponent(_viewFactory.getHistoryPane(), "History", ViewInterface.SIDE_PANEL);		_view.addComponent(_viewFactory.getLayoutPane(), "Layout", ViewInterface.BOTTOM_PANEL);				((JComponent) _view.gui()).setPreferredSize(new Dimension(700, 500));				loadModules();	}