• Post Reply Bookmark Topic Watch Topic
  • New Topic

Trying to learn GUI by making a tictactoe game, need some help

Derek Robinson
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there. I'm trying to make a tictactoe game.

As you can see, I put a GridPane on top of a Stackpane. The background image for the stackpane is just your normal tic tac toe cross. (think #). I've created rectangles to go in each gridpane spot. I think I understand how to make an event happen based on a mouse click, but I can't figure out how to get my image for an X onto one of the squares. Any help would be great!
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!