Changed the int array to Point class int the cursorposition.
Displaying moved out to the starting class.
Threading made for the AWT.