// Go directly to full-screen exclusive mode, do not use the media player
// full screen strategy to do it. If you have multiple screens then you
// need to provide a way to choose the desired screen device here
GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().setFullScreenWindow(f);
mediaPlayer.prepareMedia(args[0]);
}
}