public void valueChanged(ListSelectionEvent e)
  {
    if (e.getValueIsAdjusting())
      return;
    int x = board.getSelectedColumn();
    int y = board.getSelectedRow();
   if (x == -1 || y == -1 || !boardModel.isEmpty(x, y))
      return;
    try {
    	if(player == rint.getTurn() && rint.Havewinner() == false && rint.connected() == true){
			if(rint.placeServer(x, y)){
				rint.winner();
			}
			else{
				rint.setStatusMessage("");
				rint.setStatusMessageClient("");
			}
    	}
	} catch (RemoteException e1) {
		// TODO Auto-generated catch block
		e1.printStackTrace();
	}
    
  }