removing the window title bar

Hi,

I'm currently working on a GUI that I'd like to be in full screen, but I can't manage to remove the uppest bar of the window, with the title, and the resize and close buttons.

I'm sorry if this is the wrong forum, but there are so many I didn't know which one to choose.

Thank you !

[316 byte] By [maitrechua] at [2007-10-2 4:55:37]
# 1
setUndecorated is the method you are looking for.
Talchasa at 2007-7-16 0:59:57 > top of Java-index,Other Topics,Java Game Development...
# 2
Thanks, it works fine !
maitre_chua at 2007-7-16 0:59:57 > top of Java-index,Other Topics,Java Game Development...
# 3

Sounds like you are maximising the window. You might want to look at using full-screen exclusive mode:

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

This has advantages over just maximising the window as the painting system can ignore the windows painting system and actively draw directly to the screen. Theres also stuff in the tute about taking advantage of page-flipping, controling the bitdepth, resolution etc.

If you're already using this please ignore this post.

Hope this helps

Michael

MBRpascoea at 2007-7-16 0:59:57 > top of Java-index,Other Topics,Java Game Development...