set jframe to the center of the screen