So I need to simply check whether a clicked button's text is "X" or "O" (making tic tac toe) This code doesn't work: if (jButton1.getText()=="X").
確定! 回上一頁