log = CSMART.createLogger("org.cougaar.tools.csmart.ui");
createLogger();
  public Analyzer(CSMART csmart, Experiment experiment) {    log = CSMART.createLogger("org.cougaar.tools.csmart.ui");    this.csmart = csmart;    this.experiment = experiment;    myFrame = this;    JMenu fileMenu = new JMenu(FILE_MENU);    JMenuItem openMenuItem = new JMenuItem(OPEN_MENU_ITEM);    openMenuItem.addActionListener(this);    fileMenu.add(openMenuItem);    JMenuItem exitMenuItem = new JMenuItem(EXIT_MENU_ITEM);    exitMenuItem.addActionListener(this);    fileMenu.add(exitMenuItem);    JMenuBar menuBar = new JMenuBar();    JMenu helpMenu = new JMenu(HELP_MENU);    for (int i = 0; i < helpMenuItems.length; i++) {      JMenuItem mItem = new JMenuItem(helpMenuItems[i]);      mItem.addActionListener(this);      helpMenu.add(mItem);    }        getRootPane().setJMenuBar(menuBar);     menuBar.add(fileMenu);    menuBar.add(helpMenu);    JToolBar toolBar = new JToolBar();    toolBar.setLayout(new GridLayout(1, 1, 2, 2));    JButton button = null;    URL iconURL = getClass().getResource("Excel.gif");    if (iconURL == null)      button = new JButton(EXCEL_LABEL);    else {      ImageIcon icon = new ImageIcon(iconURL);      button = new JButton(EXCEL_LABEL, icon);    }    button.setHorizontalTextPosition(JButton.CENTER);    button.setVerticalTextPosition(JButton.BOTTOM);    button.addActionListener(this);    toolBar.add(button);    getContentPane().add("North", toolBar);    windowMenu = new JMenu(WINDOW_MENU);    pack();    setSize(400, 120);    setVisible(true);  }