FSEM Screen Changes

I'm having trouble changing between displayable screens in FSEM.

In windowed mode, I have no trouble displaying different, preconstructed, custom screens (JFrame derived) by simplying toggling setVisible(). Once in FSEM however, the only way I have

found to do the same is to recall GraphicsDevice.setFullScreenWindow(screen) which, according to JavaDoc (and my experience), reverts me to windowed mode including the prior DisplayMode setting, before then reconverting to

FSEM mode. I also have to recall setDisplayMode to get back the same

DisplayMode I just had in FSEM when I was forced to leave it. The mode switches the monitor is going thru make for a difficult user experience.

My Question: Isn't there a more graceful way

to change the displaying screen while remaining in FSEM mode

with the DisplayMode one already has?

Thank you for any insights?

[913 byte] By [Maxiia] at [2007-11-27 6:15:32]
# 1
What about just keeping one frame and replacing the content pane?You don't really need more than one frame, do you?
-Kayaman-a at 2007-7-12 17:26:17 > top of Java-index,Java Essentials,Java Programming...
# 2
That is the aha! I was looking for. Thanks.btw, is that also the typical way to do change 'screens' in windowed mode too, ie. simply replacing the JPanel (contentPane) rather thanusing a new frame and setting it to visible?
Maxiia at 2007-7-12 17:26:17 > top of Java-index,Java Essentials,Java Programming...
# 3

> btw, is that also the typical way to do change

> 'screens' in windowed mode too, ie. simply replacing

> the JPanel (contentPane) rather than

> using a new frame and setting it to visible?

Yes, that is most often the way that you'd want to do things. Swapping different JFrame instances would needlessly keep native resources (frames) in use and offers little in return.

You still have to make sure the menubars are set correctly, if you need to have different menubars for the frame.

-Kayaman-a at 2007-7-12 17:26:17 > top of Java-index,Java Essentials,Java Programming...