## Uses of Class
java.awt.BufferCapabilities

- Packages that use BufferCapabilities
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.awt.image | Provides classes for creating and modifying images.

- - ### Uses of BufferCapabilities in java.awt

    Fields in java.awt declared as BufferCapabilities
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected BufferCapabilities` | Component.FlipBufferStrategy.`caps` The buffering capabilities
    `protected BufferCapabilities` | Component.BltBufferStrategy.`caps` The buffering capabilities

    Methods in java.awt that return BufferCapabilities
    Modifier and Type | Method | Description
    --- | --- | ---
    `BufferCapabilities` | GraphicsConfiguration.`getBufferCapabilities()` Returns the buffering capabilities of this `GraphicsConfiguration`.
    `BufferCapabilities` | Component.FlipBufferStrategy.`getCapabilities()`
    `BufferCapabilities` | Component.BltBufferStrategy.`getCapabilities()`

    Methods in java.awt with parameters of type BufferCapabilities
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | Component.FlipBufferStrategy.`createBuffers(int numBuffers, BufferCapabilities caps)` Creates one or more complex, flipping buffers with the given capabilities.
    `void` | Canvas.`createBufferStrategy(int numBuffers, BufferCapabilities caps)` Creates a new strategy for multi-buffering on this component with the required buffer capabilities.
    `void` | Window.`createBufferStrategy(int numBuffers, BufferCapabilities caps)` Creates a new strategy for multi-buffering on this component with the required buffer capabilities.

    Constructors in java.awt with parameters of type BufferCapabilities
    Constructor | Description
    --- | ---
    `BltBufferStrategy(int numBuffers, BufferCapabilities caps)` Creates a new blt buffer strategy around a component
    `FlipBufferStrategy(int numBuffers, BufferCapabilities caps)` Creates a new flipping buffer strategy for this component.

  - ### Uses of BufferCapabilities in java.awt.image

    Methods in java.awt.image that return BufferCapabilities
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract BufferCapabilities` | BufferStrategy.`getCapabilities()` Returns the `BufferCapabilities` for this `BufferStrategy`.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.