public void init(Renderer renderer, boolean main) {
    if (main) {
      renderer.setMainFrameBufferOverride(frameBuffer);
    }
  }
Initialize the component renderer.
@param renderer the JMonkey {@link Renderer renderer} to use.
@param main <code>true</code> if the attached frame buffer is the main one or <code>false</code> otherwise.
jme3-desktop/src/main/java/com/jme3/system/AWTComponentRenderer.java