Gap bewteen frame title and top of frame

OK, so i have
frame.setTitle(“NAME OF PROGRAM”);

Also i set frame location to 0,0 on first iteration of draw loop to make sure the frame is orientated to the upper left corner of the display.

The executable version of the program still shows a gap of what look like about 10-15 pixels from the bottom of the title bar to the top of my actual usable frame.

Is there a way to get rid of this gap?


Can you post a screenshot of what you see in your machine?


Here are 2 screen shots.
1st is .exe running. note gray gap between title and start of blue frame.
this causes the bottom off the displayable screen.

However, when running the same as sketch, title bar and blue frame are butted together with no gray gap.

Is there a way to get rid of this gray gap in the running .exe of the sketch.
I set location at the top of draw loop to upper left , 0,0.


What OS is this? How are you calling setlocation? There is a setLocation that suppose to adjust the sketch window’s location on the OS display area. Or are you targeting an underlying component of Processing?


OS is windows 10.

at top of draw loop do this for the first frame rate loop only.