6566676869707172
// Read hosts and monitors from database hosts = new hostsHolder(appProperties); // Start threads monThread = new monitorThread(appProperties, hosts); dbThread = new dbChangeMonitor(appProperties, hosts); }
197198199200201202203204205206207
java.awt.EventQueue.invokeLater(new Runnable() { public void run() { new UptimeMart().setVisible(true); //Kick off the monitor Thread worker = new Thread(new MonitorThread()); worker.setDaemon(true); worker.start(); } });