Another Swing full Screen Problem

Hi

I have a strange Problem with Swing and the full screen exclusive mode. I wrote a NullRepaintManager so i can paint all the Comps by hand. I do the following in my render lopp:

fFrame.getLayeredPane().paintComponents(graphics);

This works just fine, I have a Menu with two Buttons and a BoxLayout. If I click the play Button I can play the game. Now the Problem: If I show a Welcome Message before I paint the Menu, the Menu is not visible. The Welcome Message paint a String with a special Font for two Seconds and after that, the Menu should be there but it isn’t. Have any one a idea?

I could definitely help you out if you were a little more specific.

Where are you showing the welcome message and where does your game appear?

In any case, from what you’ve said it sounds like the issue might reside in whatever fires after those two seconds. If you put a little more code on here, I’m sure I could help.

Personally, I don’t usually use Swing Components with FSEM because it can create annoying complications with focus and the need for a mouse. I generally create my own graphically, which seems to work fine for most games. If you can do it graphically, you might want to simply do that instead of having buttons. Like for example have a KeyListener that performs the action when a certain key is pressed…