panel = new MainPanel(this);
java.util.Vector vargs = new java.util.Vector(); if(sideVis != null) { vargs.add("-sidebar"); vargs.add(sideVis); } if(bottomVis != null) { vargs.add("-bottombar"); vargs.add(bottomVis); }  String [] args = null; if(vargs.size() > 0) { Object [] objs = vargs.toArray(); args = new String[objs.length]; for(int i = 0; i < objs.length; i++) { args[i] = (String) objs[i]; } }  panel = new MainPanel(this, args);
	public void init() {		_dataFile = getParameter(PARAM_DATAFILE);		panel = new MainPanel(this);		setContentPane(panel.getView().gui());		setJMenuBar(panel.getView().getMenu());		setVisible(true);	}