avoid poiter printing with java.awt.Point