title: Java Applet_Dubble Buffering Does Not Work
body: <p>I'm coding a JApplet in Java, but dubble buffering doesn't remove the flickering!?</p>
  
  <p>What should I do?</p>
  
  <p>This is the important part of the code, I guess (tell me if you need to know more, please):</p>
  
  <pre><code>    // Background (dubble buffering)
      private Image backbuffer;
      private Graphics backg;
  
  //Init method
              // Dubble-Buffering
          backbuffer = createImage(getWidth(), getHeight());
          backg = backbuffer.getGraphics();
          backg.setColor(this.getBackground());
  
  //Overrided update method
         public void update( Graphics g ) {
            g.drawImage( backbuffer, 0, 0, this );
            getToolkit().sync();
         }
  </code></pre>
  
  <p>I appreciate all help I can get! :)</p>