Flickering using Java Elements package

Advertisement
October 11

Im pretty new to Java and open to all suggestions for help.
Basically, Im creating a simple animation in a drawing window, and using the draw and clear commands to move the image. This is causing the image to flicker and I would like to know how to stop this.
I think it may have something to do with 'hold' and 'release' commands but like I say Im open to all suggestions
Im using the elements package to create the animation - all I could seem to find elsewhere was help for the AWT.
Cheers, Luke

Advertisement

Replay

What is the 'Elements' package? Is this a standard java sdk package?
Look into 'double-buffering' to resolve your flickering. Swing components are double-buffered by default.
http://www.spacejack.org/games/dbufanim/
http://java.sun.com/docs/books/tutorial/extra/fullscreen/doublebuf.html
google 'java double-buffering' for more info..

View 3 Replies

Tags:

  1. YouTube não carrega no lg d300f
  2. hp m1319f no print cartridge error
  3. BExGetData
  4. MacBook 5,4 windows
  5. 305500 non oracle exception
  6. BAPI_OUTB_DELIVERY_CREATE_STO
  7. modifing a ke30 report
  8. E317
  9. droppedwm7
  10. S4VP
Copyrights 2019 Fcffair BigData Resource, All rights reserved