Hey what’s up everyone I’m new to Java and programming in general and I would like to know if there is another way to do the following:
I followed a tutorial online to make a Tic Tac Toe game that is GUI based. The game composed of an array of JButton’s and a JFrame - all held in the same class file. I know I can setIcon for the JButtons but I hope to eventually move into real graphics so I figure this is the simplest place I can start.
I wanted to expand my knowledge with the Java graphics library so instead of setting the text in the JButton to “X” or “O” I wanted to draw (on a JLabel maybe?) a Circles / X’s.
Could anyone give me any pointers on what libraries I should look into or maybe any TicTacToe tutorial that does what I am hoping to do?
Thanks for any insight you can offer.