• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Derek Robinson
Greenhorn
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic