public CanvasFrame(string title, int screenNumber, DisplayMode displayMode, double gamma) { base.\u002Ector(title, CanvasFrame.getScreenDevice(screenNumber).getDefaultConfiguration()); CanvasFrame canvasFrame = this; this.latency = 120L; this.keyEvent = (KeyEvent) null; this.canvas = (Canvas) null; this.needInitialResize = false; this.bufferStrategy = (BufferStrategy) null; this.init(true, displayMode, gamma); }
public CanvasFrame(string title, GraphicsConfiguration gc, double gamma) { base.\u002Ector(title, gc); CanvasFrame canvasFrame = this; this.latency = 120L; this.keyEvent = (KeyEvent) null; this.canvas = (Canvas) null; this.needInitialResize = false; this.bufferStrategy = (BufferStrategy) null; this.init(false, (DisplayMode) null, gamma); }