100101102103104105106107108109110
requestAndRegisterID(); } public void requestAndRegisterID() { StatisticsReporter sr = new StatisticsReporter(); String id = sr.getID(); if(id == null) { System.err.println("Cannot send info ="+sr.getError()+"\nID is null."); } }
212213214215216217218219220
progress.setInfo("Sending statistics..."); progress.display(); error = false; cancel = false; reporter = new StatisticsReporter(); new Thread(this).start(); }