I may have gotten that backwards: you may get an exception, perhaps stackoverflow exception if you define a new LineDrawV2 inside of DrawingPanel's paintComponent. Bottom line is you don't want to...
Type: Posts; User: Fubarable
I may have gotten that backwards: you may get an exception, perhaps stackoverflow exception if you define a new LineDrawV2 inside of DrawingPanel's paintComponent. Bottom line is you don't want to...
Problems:
You shouldn't be creating a new LineDrawV2 object inside of DrawingPanel's paintComponent(...) method. Why do you feel that your program needs this?
You know that code like this...