This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hey all, I'm delving into the Java 1.4 Full-Screen Exclusive Mode API because, well, because it's there! Anyhow, I have an app in which the user can switch between a normal, little JFrame and a bigger, undecorated JFrame in fullscreen mode. I do also set the display mode (in this case, to 800x600). My problem is that after all that happens, the fame seems to think that it should be much wider than the screen size iteself. So the elements in the frame disappear way off to the right. I've tried setting the frame to different dimensions, some absurdly tiny. I've also tried not setting the frame size at all. Same results always. Are there things I need to keep in mind with window sizing & such when switching to fullscreen mode? Thanks in advance!
hi, couldn't the display mode be the reason for your problem? have you tried without setting it? and have you printed out (getDisplayMode...) the default values? I'd guess as this depends on the configuration of the screen this will change from client to client. chantal
Joined: Apr 10, 2003
It doesn't seem to be tied to setting the display mode, as I have the problem with or without setting the display mode (although it seems to be a bit more drastic when I use display mode.)