public void updateMissileTime(int time, String missileId, String type,
			String destination, int damage, int flyTime) {
		Iterator<String> keySetIterator = map.keySet().iterator();
		Iterator<String> destuctorsSetIterator = destructors.keySet()
				.iterator();
		if (type == "missile") {
			while (keySetIterator.hasNext()) { // for missiles
				String key = keySetIterator.next();
				if (key.equalsIgnoreCase(missileId)) {
					progressBar = map.get(key);
					progressBar.setForeground(Color.LIGHT_GRAY);
					progressBar.setValue(time);
					JLabel temp = (JLabel) progressBar.getComponent(0);
					temp.setText("Missile id#" + missileId + " Will Hit "
							+ destination + " for " + damage + " damage in "
							+ (flyTime - time) + "s");

				}

			}
		} else if (type == "launcherDestroyer") {
			while (destuctorsSetIterator.hasNext()) { // for desturctors
				String key = destuctorsSetIterator.next();
				if (key.equalsIgnoreCase(missileId)) {
					progressBar = destructors.get(key);
					progressBar.setForeground(Color.CYAN);
					progressBar.setValue(time);
					JLabel temp = (JLabel) progressBar.getComponent(0);
					temp.setText(destination + " Will Hit Launcher #"
							+ missileId + " in " + (flyTime - time) + "s");

				}

			}
		} else if (type == "IronDome") {
			while (destuctorsSetIterator.hasNext()) { // for desturctors
				String key = destuctorsSetIterator.next();
				if (key.equalsIgnoreCase(missileId)) {
					progressBar = destructors.get(key);
					progressBar.setForeground(Color.CYAN);
					progressBar.setValue(time);
					JLabel temp = (JLabel) progressBar.getComponent(0);
					temp.setText(destination + " Will Hit Missile #"
							+ missileId + " in " + (flyTime - time) + "s");

				}

			}
		}

	}