public void startMonitoring() {
   final String location = this.location.getText();
   final String intervalText = this.interval.getText();
   final String nextTimeout =
       administration.changeInterval(location, Integer.valueOf(intervalText));
   status();
 }
 public void status() {
   final Pair<String, String> status = administration.status();
   showMessage();
   message.setText("Interval: " + status.getKey() + " next timeout: " + status.getValue());
 }
 public void stopMonitoring() {
   administration.stopPolling();
   status();
 }