I use the set coords to create something like a grid. So when you want to specify how you want the four sides of the window to be. So you would do setCoords(0,1,1,0) for example to mean the width to be from 0 - 1 and height from 0-1.
Hope that helps,