Results 1 to 2 of 2

Thread: how to locate form under a jTextField1 object?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784

    how to locate form under a jTextField1 object?

    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>

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: how to locate form under a jTextField1 object?

    What are you trying to do??
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width