Search:

Type: Posts; User: copeg

Search: Search took 0.11 seconds.

  1. Re: Drawing in applets. Tell me why this way is wrong.

    I actually misread your original post to think you were saying the opposite. Sorry bout that. Now that you posted the small example its more clear, however I don't see any flickering with any of the...
  2. Re: Drawing in applets. Tell me why this way is wrong.

    a) See the edit to my post about calling getGraphics

    b) What do you mean there is only one thread? Does this include the EDT? Are you calling Thread.start at any time during your program? As norm...
  3. Re: Drawing in applets. Tell me why this way is wrong.

    I'd say it has to do with two things. First, you are directly accessing the Graphics object from another thread, and drawing to that graphics, in effect asynchronously drawing the GUI, while the...
Results 1 to 3 of 3