console.println("Setting up system logger..."); PropertyConfigurator.configure("evolvoLogger.ini"); logger = Logger.getLogger("org.maloi.evolvo"); logger.setLevel(Level.WARN);
   public Evolvo()   {      super(MessageStrings.getString("Evolvo.Program_Title")); //$NON-NLS-1$      if (!Constants.isMac)      {         // Don't change L&F on Mac         try         {            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());         }         catch (Exception e)         {            //Do nothing-will automatically use default L&F if failure occurs           }      }      console = SystemConsole.getInstance();      logSystemInfo();      console.println(MessageStrings.getString("Evolvo.Creating_splash_screen_6")); //$NON-NLS-1$      SplashWindow Splash = new SplashWindow(false, this);      Splash.setMessage(MessageStrings.getString("Evolvo.Loading_preferences..._7")); //$NON-NLS-1$      settings = GlobalSettings.getInstance();      Splash.setMessage(MessageStrings.getString("Evolvo.Creating_preferences_dialog..._8")); //$NON-NLS-1$      settingsDialogBox = SettingsDialog.getInstance();      Splash.setMessage(MessageStrings.getString("Evolvo.Creating_file_chooser_dialog..._9")); //$NON-NLS-1$      genericFileChooser = CustomFileChooser.getInstance();      Splash.setMessage(MessageStrings.getString("Evolvo.Reading_preferences..._10")); //$NON-NLS-1$      prop = settings.getProperties();      Splash.setMessage(MessageStrings.getString("Evolvo.Configuring_variables..._11")); //$NON-NLS-1$      variables = VariablePackage.getInstance();      Splash.setMessage(MessageStrings.getString("Evolvo.Creating_main_window..._12")); //$NON-NLS-1$      getContentPane().setLayout(new BorderLayout());      JMenuBar menubar = makeMenuBar();      setJMenuBar(menubar);      JPanel mainPanel = makeMainPanel();      getContentPane().add(mainPanel, BorderLayout.CENTER);      JPanel auxPanel = makeAuxiliaryPanel();      getContentPane().add(auxPanel, BorderLayout.SOUTH);      Dimension menuBarSize = menubar.getPreferredSize();      Dimension mainPanelSize = mainPanel.getPreferredSize();      Dimension mainFrameSize = getPreferredSize();      Dimension contentPaneSize = getContentPane().getPreferredSize();      Dimension auxPanelSize = auxPanel.getPreferredSize();      int width =         mainPanelSize.width + (mainFrameSize.width - contentPaneSize.width);      int height =         (menuBarSize.height + mainPanelSize.height + auxPanelSize.height)            + (mainFrameSize.height - contentPaneSize.height);      setSize(width, height);      Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();      int x = (screen.width - width) / 2;      int y = (screen.height - height) / 2;      setBounds(x, y, width, height);      pack();      setResizable(false);      setVisible(true);      Splash.close();   }