Full-screen Modal Dialog Splashing

i developed Frame that runs in full-screen mode , and when it invoked in Applet init() method it runs well (by making applet Trusted Applet) ,BUT the modal Dialog splashes when it is moved. This is the code i used to invoke full-screen mode for the frame :

Graphics device = Graphics().

getDefaultScreenDevice() ;

this.dispose();// remove the frame before change screen mode

this.setUndecorated(true);

this.setVisible(true);

this.validate();

device.setFullScreenWindow(this);

this.validate();

device.setDisplayMode(mode);

i tried calling repaint() for all components while activate the frame and it does not work .

IS THIS A BUG IN FULL-SCREEN MODE ?

NB.: am using SDK1.6 (mustang)

if any one have sol Pls reply .

Thanks

[942 byte] By [M.Othmana] at [2007-11-26 16:27:43]
# 1
> ,BUT the modal Dialog splashes when it is moved. Can you explain what you mean by this - There doesn't appear to be an actual question here.
macrules2a at 2007-7-8 22:51:57 > top of Java-index,Desktop,Core GUI APIs...
# 2
Maybe he means "flashes."
itchyscratchya at 2007-7-8 22:51:57 > top of Java-index,Desktop,Core GUI APIs...
# 3
> Maybe he means "flashes."Hmm... possibly, but it's still up to the OP to clarify :)
macrules2a at 2007-7-8 22:51:57 > top of Java-index,Desktop,Core GUI APIs...
# 4
Thanks for ur reply. I mean it disappears while i move it..
M.Othmana at 2007-7-8 22:51:57 > top of Java-index,Desktop,Core GUI APIs...