@Override
	
	public void run() {
		InetAddress ia = null;
		try {
			ia = InetAddress.getByName("localhost");
		} catch (UnknownHostException e2) {
			e2.printStackTrace();
		}
		try (DatagramSocket dSocket = new DatagramSocket();) {
			try {
				String command = "Date:";
				byte buffer[] = null;
				buffer = command.getBytes();
				byte answer[] = new byte[1024];
				while (true) {
						DatagramPacket packet = new DatagramPacket(buffer,
								buffer.length, ia,6667);
						dSocket.send(packet);
						packet = new DatagramPacket(answer, answer.length);
						dSocket.receive(packet);
						controllerCoustomerShop.updateTitle(new String(packet.getData(), 0, packet.getLength()));
						try {
							Thread.sleep(1000);
						} catch (InterruptedException e) {
							e.printStackTrace();
						}
				}
			} catch (IOException e1) {
				e1.printStackTrace();
				}
		} catch (SocketException e1) {
			e1.printStackTrace();
		}
	}