Results 1 to 2 of 2
  1. #1
    robme is offline Member
    Join Date
    Dec 2011
    Posts
    5
    Rep Power
    0

    Default Transfer focus back to parent once create new JFrame

    How can I transfer focus from new Jframe object back to parent object that created JFrame when you can not pass reference of parent to JFrame?

    Parent A creates new JFrame B that gains focus but does not have reference to parent A to allow B to getARef and transfer focus to A with A.requestFocus(); method

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,416
    Rep Power
    20

    Default Re: Transfer focus back to parent once create new JFrame

    Don't double post. The thread is closed.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 1
    Last Post: 10-10-2011, 04:51 PM
  2. Replies: 3
    Last Post: 06-14-2011, 01:13 AM
  3. JFrame and CardLayout -- Wrong Parent
    By AutoRobin in forum New To Java
    Replies: 11
    Last Post: 04-21-2011, 12:39 PM
  4. posting results back to parent page
    By carag in forum New To Java
    Replies: 0
    Last Post: 07-29-2009, 12:29 PM
  5. Replies: 1
    Last Post: 03-04-2009, 06:14 PM

Posting Permissions

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