Remove menu bar on Mac in full screen mode

Hello,My application runs in full screen mode using setUndecorated and setFullScreenWindow. On Mac OS/X my screen is placed beneath standard Mac menu bar which turns black. How do I remove this menu bar?Thanks/Mikael
[237 byte] By [mhakmana] at [2007-10-3 10:02:53]
# 1
I found the answer. Thank you.
mhakmana at 2007-7-15 5:21:47 > top of Java-index,Desktop,Core GUI APIs...
# 2
> I found the answer. Thank you.What was the answer?
cdkf92a at 2007-7-15 5:21:47 > top of Java-index,Desktop,Core GUI APIs...
# 3

A neat example, which works well on OS X is given here:

http://java.sun.com/docs/books/tutorial/extra/fullscreen/example-1dot4/DisplayModeTest.java

I also suggest this link for further explanations:

http://java.sun.com/docs/books/tutorial/extra/fullscreen/example.html

Finally, I'd like to mention that because of the nature of exclusive full screen mode and possibly an implementation error on Macintosh, contextual menus (Popup menus) may not work as expected. I observed two behaviors:

- contextual menu are simply not drawn or not visible

or

- once a popup menu is closed, the screen turns black

I have devised a rather short pure-Java work-around which solves both problems, and is multi-platform friendly.

xavierschotta at 2007-7-15 5:21:47 > top of Java-index,Desktop,Core GUI APIs...