code: public static void createBufferStrategy(java.awt.Canvas component, GraphicsConfiguration conf)
      {
          try
          {
              component.createBufferStrategy(2, conf.getBufferCapabilities());
          }
          catch (final AWTException exception)
          {
              Verbose.exception(exception);
              component.createBufferStrategy(1);
          }
      }
docs: Create the buffer strategy using default capabilities.
  
  @param component The component reference.
  @param conf The current configuration.