panel = new MainPanel(this);
String sideVis = getParameter(PARAM_SIDEVIS); String bottomVis = getParameter(PARAM_BOTTOMVIS);   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) { args = (String []) vargs.toArray(); }  panel = new MainPanel(this, args); setContentPane(panel.getView().gui());
	public void init() {		panel = new MainPanel(this);		setJMenuBar(panel.getView().getMenu());		setVisible(true);	}