title: Temporarily disable double buffering in Java graphics applet
body: <p>is there an easy way to disable double buffering in a java applet if necessary?
  I have a java applet that displays and animates a musical score so I needed it double buffered. However for teaching purposes I need to print this applet. The problem is that before I added buffering the output to the printer was vector based so I could make it as big as I wanted and it would look smooth (and also use the cheaper type of black ink!) but with the double buffering the output is of course an image, and a fairly low res one at that!</p>
  
  <p>Basically I need the same applet to <strong>use double buffering when it is called with the "display_tune" parameter</strong> but to <strong>draw straight to graphics with vector output when it's called with the "view_tune" parameter.</strong></p>
  
  <p>Any help much appreciated.</p>