int cannot be converted to string?

You can convert to String using Integer.toString() :

square.setText(Integer.toString(x));

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)