public void createWindow() {
		for (int i = 0; i < 3; i++) {
			try {
				Socket socket = new Socket("localhost", 9001);
				PrintWriter out = new PrintWriter(socket.getOutputStream(),
						true);
				BufferedReader in = new BufferedReader(new InputStreamReader(
						socket.getInputStream()));
				Client tmp = new Client(socket, out, in);
				tmp.getWindow().setLocation(new Point(500, 300 * i));
				tmp.setJucatorIndex(i);
				if (i == 1 || i == 2)
					tmp.getJoaca().setEnabled(false);
				Thread thread = new Thread(tmp);
				thread.start();
			} catch (UnknownHostException e1) {
				System.out.println(e1.getMessage());
				e1.printStackTrace();
			} catch (IOException e1) {
				System.out.println(e1.getMessage());
				e1.printStackTrace();
			}
		}
	}