GLCaps.determineAvailableExtensions();
GLCaps.determineAvailableExtensions(extensions);
    private void initDisplay() {        try {            //create the Display.             DisplayMode mode = getValidDisplayMode(width, height, bpp, frq);            if (null == mode) {                throw new JmeException("Bad display mode");            }            if (fs) {                Display.setDisplayMode(mode);                Window.create(title, bpp, 0, 8, 0);            } else {                int x, y;                x =                    (Toolkit.getDefaultToolkit().getScreenSize().width - width)                        / 2;                y =                    (Toolkit.getDefaultToolkit().getScreenSize().height                        - height)                        / 2;                Window.create(title, x, y, width, height, bpp, 0, 8, 0);            }            GLCaps.determineAvailableExtensions();        } catch (Exception e) {            System.exit(1);        }    }