private void jButton1ActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jButton1ActionPerformed // Note: Google Static Maps API uses an // API key to identify your application. MapLookup.setLicenseKey(GOOGLE_API_KEY); timer.start(); Subscribe sub = new Subscribe(); try { for (int a = 100; a < 182; ++a) { theListeners.add(sub.main("#" + Integer.toString(a))); } } catch (Exception e) { System.exit(0); } // Build a Google Static Map API URL of the form: // http://maps.googleapis.com/maps/api/staticmap?parameters. // See link: https://developers.google.com/maps/documentation/staticmaps/ }