BufferStrategy.getNumBuffers() ?

Not a big problem, but how can you tell how many buffers a BufferStrategy has?

I can’t find any method that can return the integer passed into

aWindow.createBufferStrategy(int numBuffers)

I need such a method for creating a new BufferStrategy (with the same number of buffers that it used to have) after the display mode has been changed.

Thanks,
Keith

If it truely lacks this method, just store the amount passed to the create-method in some variable and look it up when creating the new one.