Search:

Type: Posts; User: copeg

Search: Search took 0.09 seconds.

  1. Replies
    41
    Views
    8,685

    Re: 60FPS refresh loop

    repaint() calls paintComponent() for you, so anytime you wish to call paintComponent() just call repaint(), which queue's the call to the EDT safely.
  2. Replies
    41
    Views
    8,685

    Re: 60FPS refresh loop

    Ditto on KevinWorkman's (and other's ) post above. Drawing directly to a Graphics object of a component outside of a regular painting method can result in unexpected behavior (this does not...
Results 1 to 2 of 2