Search:

Type: Posts; User: Fubarable

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    1,145

    Re: Problem with paintComponent...?

    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...
  2. Replies
    3
    Views
    1,145

    Re: Problem with paintComponent...?

    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...
Results 1 to 2 of 2