LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: cbarrett1974 on January 19, 2005, 17:19:46

Title: Initial window location other than centered
Post by: cbarrett1974 on January 19, 2005, 17:19:46
My app needs to set a specific window location (other than centered), before the window is first created.  Currently, I have to call setLocation() after create(), but this shows the window centered for a split-second.

Could the Display class be changed to allow setLocation() first, and use it as the initial position when calling Display.create()?
Title: Initial window location other than centered
Post by: princec on January 19, 2005, 17:45:31
Yes, that's how it should be, so you've found a bug.

Cas ;)
Title: Initial window location other than centered
Post by: Matzon on January 19, 2005, 17:58:47
think this has already been fixed in cvs - bot sure though