I'm a newbie in java and I'm working on a tic-tac-toe project. I set up a toast to appear when player 1 or 2 wins, but I can't find out how to toast a draw. I got the idea of checking the players' toasts--if they hadn't been displayed, and there are no more empty spaces, then a toast for draw shows up. I can't really figure it out and any help would be very much appreciated
PS im sorry if that was too puzzling, so heres the summary: how can I check if a toast was displayed?
Thanks in advance