NetBeans
Added code to move to center of screen.