this.setVisible(false);
    private void enterFullScreen() {                try {            GraphicsDevice device = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();            Rectangle bounds = device.getDefaultConfiguration().getBounds();                        double widthRatio = bounds.width / (double) movieWidth;            double heightRatio = bounds.height / (double) movieHeight ;                        int fullScreenWidth;            int fullScreenHeight;            int fullScreenX;            int fullScreenY;            if (widthRatio < heightRatio) {                fullScreenWidth = (int) (movieWidth * widthRatio);                fullScreenHeight = (int) (movieHeight * widthRatio);            }            else {                fullScreenWidth = (int) (movieWidth * heightRatio);                fullScreenHeight = (int) (movieHeight * heightRatio);            }            fullScreenY = (bounds.height - fullScreenHeight) / 2 ;            fullScreenX = (bounds.width - fullScreenWidth) / 2;                        this.fullScreen = true;                        this.setVisible(false);            fullScreenFrame = makeFullScreenFrame();            device.setFullScreenWindow(fullScreenFrame);            QTComponent qc = QTFactory.makeQTComponent(movie);            fullScreenFrame.getContentPane().add(qc.asComponent());            fullScreenFrame.setLocation(fullScreenX, fullScreenY);            fullScreenFrame.setSize(fullScreenWidth, fullScreenHeight);            fullScreenFrame.setVisible(true);            unmute();            movie.start();        }        catch (Exception ex) {            // XXX do better            ex.printStackTrace();        }    }