replace awt.Point with core.Node