Questions tagged [doublebuffered]

A computer-graphics technique for updating a dynamic image that greatly reduces the visual artifacts, especially flicker, caused by the screen pixels being changed. The new image is drawn in a "hidden" buffer while the user still sees the old image, stored in a "visible" buffer (hence "double-buffering"). When the new image is fully drawn, the visible and the hidden buffers are switched very quickly and the hidden buffer content becomes visible.

181 questions
-1
votes
2 answers

Extending JPanel, What Gets Carried Over

So I created an abstract JPanel called BasePanel. In it I i use a double buffer code like so: public void paint(Graphics g) { dbImage = createImage(getWidth(), getHeight()); dbg = dbImage.getGraphics(); paintComponent(dbg); …
Exikle
  • 1,155
  • 2
  • 18
  • 42
1 2 3
12
13