I am developing a game called Tic Tac Toe. I first made a standalone application and then converted it into a JApplet.
In my game i have a button called as "New Game". Whenever a user presses this button the game is started all over again. The problem is, i have written some logic for it, but it is not working.
The problem is, i dont know wat to put in the paint method. In my case all the logic is implemented in init() and actionPerformed() method. So my paint method is empty. And when i call repaint(), it is having no effect.