Menu

#1 Graphics glitches

open-fixed
nobody
None
9
2001-12-13
2001-12-11
No

I don't have any idea why, but after the rewrite I
haven't been able to get graphics drawn on the screen
without flashing. It's weird since I don't see any
crucial changes in actual drawing mechanism and
according to documents swing handles double buffering
automagically (even doing it manually doesn't help).

Discussion

  • Flammie Pirinen

    Flammie Pirinen - 2001-12-13

    Updated PongApplet

     
  • Flammie Pirinen

    Flammie Pirinen - 2001-12-13

    Logged In: YES
    user_id=32570

    I got it fixed somehow, with help of Bob Pendleton of
    gameprogammer.com at topica's mailing list. It seems either
    it needed backbuffer.flush() or somehow I had multiple
    functions modifying the graphics while drawing? I attached
    the fixed PongApplet here (I'm too lazy to u/l it to releases)

     
  • Flammie Pirinen

    Flammie Pirinen - 2001-12-13
    • status: open --> open-fixed