AWT Point class is replace with custom Point class.