i was following the David Brackeen's Developing Games in Java book and i made a simple script that allows to enter windowed mode. Well .. the problem is that when i draw the buttons the title bar overlaps them . Is there a way to fix it ?
ScreenShot:
See it? The bar overlaps the buttons!
Here is the netbeans project (the main source file is MenuTest): http://www.mediafire.com/?tyc16am8ga517c7