gl = new GL(title, x, y, width, height, bpp, 1, 1, 1);
gl = new GL(title, x, y, width, height, bpp, 0, 1, 0);
    private void initDisplay() {        try {            //create the Display.             DisplayMode mode = getValidDisplayMode(width, height, bpp, freq);            if (null == mode) {                throw new MonkeyRuntimeException("Bad display mode");            }            if (fullscreen) {                Display.setDisplayMode(mode);                gl = new GL(title, bpp, 1, 1, 1);            } else {                int x, y;                x =                    (Toolkit.getDefaultToolkit().getScreenSize().width - width)                        / 2;                y =                    (Toolkit.getDefaultToolkit().getScreenSize().height                        - height)                        / 2;                gl = new GL(title, x, y, width, height, bpp, 1, 1, 1);            }            gl.create();            gl.determineAvailableExtensions();            LoggingSystem.getLoggingSystem().getLogger().log(                Level.INFO,                "Created display.");        } catch (Exception e) {            LoggingSystem.getLoggingSystem().getLogger().log(                Level.SEVERE,                "Failed to create display due to " + e);            System.exit(1);        }        glu = new GLU(gl);    }