Is it possible to draw on a picture after loading and before displaying it?
Hi to all :)
I intend to write a small applet(connected with a server using RMI, but that's not important :) ) that represents the 'tic-tac-toe' game.
I've planned to create 3 pictures - blank, containing a circle and containing a cross.
Then I think to used 9 JButton-s and set the blank pic as an Icon for the JButton. An action event listener will change the picture to circle ot cross and so on...
I would like to draw a line over the 3 pictures for the winner at the end of the game.
Is it possible to load a circle or cross picture, then draw a horizontal/vertical/diagonal line on it at runtime and after that set it as an Icon for the Jbutton ?
Thanks in advance. Take care :)

