Hello,
I am creating a program that loops through various images and videos in fullscreen. Up to now, I have just been JWindow.setSize'ing to the appropriate size, but the taskbar remains visible when you do this, so I recently learned about GraphicsDevice.setFullScreenWindow method, which works fine. My problem is, once I set the window to fullscreen, I started having problems with Player that I was not having when it was not fullscreen. Avi files will not play the first time that a Player tries, the container simply appears to remain empty though the Player.getState method claims the player is playing and the getVisualComponent method returns a Component. The Player also never reaches the EndOfMedia event. However, if I alt-tab out of the fullscreen then go back, the video eventually finishes, and the next time that video comes up it plays fine. As I said, this problem does not happen when the window is not fullscreen. Thanks for any help!
-Zack Nicolaou
I am creating a program that loops through various images and videos in fullscreen. Up to now, I have just been JWindow.setSize'ing to the appropriate size, but the taskbar remains visible when you do this, so I recently learned about GraphicsDevice.setFullScreenWindow method, which works fine. My problem is, once I set the window to fullscreen, I started having problems with Player that I was not having when it was not fullscreen. Avi files will not play the first time that a Player tries, the container simply appears to remain empty though the Player.getState method claims the player is playing and the getVisualComponent method returns a Component. The Player also never reaches the EndOfMedia event. However, if I alt-tab out of the fullscreen then go back, the video eventually finishes, and the next time that video comes up it plays fine. As I said, this problem does not happen when the window is not fullscreen. Thanks for any help!
-Zack Nicolaou