public void swapButton(Bloque bloque1, Bloque bloque2) {
		int auxX, auxY;
		boardGrid[bloque1.y][bloque1.x] = bloque2;
		boardGrid[bloque2.y][bloque2.x] = bloque1;
	
		auxX = bloque1.x; auxY = bloque1.y;
		bloque1.setCoords(bloque2.x, bloque2.y);
		bloque2.setCoords(auxX, auxY);
		
		BlockButton button1 = bloque1.getButton();
		BlockButton button2 = bloque2.getButton();
		
		Color auxbackground = button1.getBackground();
		String auxtext = button1.getText();
		
		button1.setText(button2.getText());
		button1.setBackground(button2.getBackground());
		button2.setText(auxtext);
		button2.setBackground(auxbackground);
		auxX = button1.xCoord;
		auxY = button1.yCoord;
		button1.xCoord = button2.xCoord;
		button1.yCoord = button2.yCoord;
		button2.xCoord = auxX;
		button2.yCoord = auxY;
		
		bloque1.setButton(button2);
		bloque2.setButton(button1);
		
		if (clearButtons(bloque1) || clearButtons(bloque2)){
			for (int y=0;y<height;y++){
				for (int x=0;x<width;x++){
					if ((boardGrid[y][x].getColor().equals("-")) || 
						(boardGrid[y][x].getColor().equals("$")) || 
						(boardGrid[y][x].getColor().equals("&"))) {
						continue;
					}
					clearButtons(boardGrid[y][x]);
				}
			}

			fillWhites();
			gui.updateGrid();
			if (restantes <= 0){
				gui.msgbox("Congratulations! You WIN!");
				System.exit(0);
			}
			else{
				if (isGameOver()){
					gui.msgbox("Re-making the board!");
					renewBoard();
				}
			}
		}
		else{
			fakeSwapButton(bloque1,bloque2);
		}
	}