title: How to control rendering quality using JAVA
body: <p>I have simple drawing canvas like this:</p>
  
  <pre><code>public class DrawingCanvas extends JPanel
  
      private BufferedImage image;
  
      @Override
      public void paintComponent(Graphics g) {
          super.paintComponent(g);
  
  
              image = new BufferedImage(this.getWidth(), this.getHeight(), BufferedImage.TYPE_INT_ARGB);
  
              Graphics2D g2 = (Graphics2D) image.getGraphics();
  
              // draw some items....                
  
              g2.dispose();
              g.drawImage(image, 0, 0, null);
     }
  }
  </code></pre>
  
  <p>I want to ask you, if I can set some render quality?</p>
  
  <p>For example Antialiasing.. I want use <strong>BEST</strong> render quality.</p>
  
  <p>How ?</p>