Ok, I just added the MouseClicked = MouseClicked + 1; part right above the repaint(); and it worked! Thanks!
Type: Posts; User: The_Mexican
Ok, I just added the MouseClicked = MouseClicked + 1; part right above the repaint(); and it worked! Thanks!
Hello, I'm attempting to make a program which will draw a line with a length of 10 units wherever the user clicks. However, it's not working, and clicking anywhere in the window does nothing....