if(board[1][1] == "x"){

You should use the equals() method for comparing Strings' contents, not the == operator.