I kind of new at the JFrame and JPanel.
I want to implement the tic tac toe game.
I created 2 classes, 1 for the JPanel class with the paintComponent method that draws my first panel (the 4 constant lines).
And i want to add lines on the mouse movement (drawing with the mouse).
I'm getting trouble when i'm trying to add new lines into my 4 stable lines at my jpanel.
I hope i explained myself correctly and i'll appreciate if someone can help me.