Example 6 --> placing a window in the center of screen