how to locate form under a jTextField1 object?

Point location = new Point(this.jTextField1.getX(),this.jTextField1.getY());

<CODE>
FrmSerial frmSerial = new FrmSerial();
frmSerial.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);

frmSerial.setLocationByPlatform(false);
frmSerial.setLocation(location);
frmSerial.setVisible(true);
</CODE>