problem with fullscreen apps in Java webstart

I’ve noticed a problem with Java webstart which haven’t come to my mind before, since I’ve deactivated the feature that causes the problem on my own computer. By default webstart pops up a dialog that asks the user if he/she wants to add the game to a short cut.

If you go stratight into fullscreen the dialog will either be behind or infront of your fullscreen frame (I’ve got various results on two different computers) and will in both cases get keyboard focus. Anybody who have run into the same problem? I’ve no idea on how to solve it, suggestions would be most appreciated.

Yes, you don’t have that only for fullscreen apps. You can also have that nasty dialog behind a simple Swing dialog/frame.

But I don’t have any clue against it (except indivisually switching it off in the webstart settings).

Hmyea. The problem is that the dialog itself doesn’t have a parent. We kinda need a way to tell that dialog that our frame is his parent.

You would get a similar problem if you create a modal dialog with null as parent. Popup the dialog, switch to another application, switch back to yours and taadaa the modal dialog still has the focus (and wont give it back) but is invisible (since the dialog isnt a child of our frame it doesnt know that it has to draw itself).