public void refresh() {
		model.getDataVector().clear();

		PeerAgent agent = sim.getCurrentPeerAgent();

		if (agent == null)
			return;

		String name = agent.getPeer().getName();
		PeerAddress address = agent.getPeer().getAddress();
		GeoLocation location = agent.getPeer().getLocation();
		GeoVelocity velocity = agent.getPeer().getVelocity();

		String longitude = new String();
		String latitude = new String();

		longitude = Double.toString(location.getLongitude());
		latitude = Double.toString(location.getLatitude());

		model.addRow(new Object[] {properties[0], name});
		model.addRow(new Object[] {properties[1], address.toString()});
		model.addRow(new Object[] {properties[2], longitude});
		model.addRow(new Object[] {properties[3], latitude});
		model.addRow(new Object[] {properties[4], Float.toString(velocity.getSpeed())});
		model.addRow(new Object[] {properties[5], Double.toString(Math.toDegrees(velocity.getBearing()))});
	}