Results 1 to 4 of 4
  1. #1
    Heatryn is offline Member
    Join Date
    Jun 2012
    Posts
    10
    Rep Power
    0

    Default Parent and child windows

    Hi there,

    I have an application that opens an Iframe. When I click on one button in the IFrame, another IFrame opens. When I fill in this iFrame and click the save button, the iframe needs to be closed and I need to return to the previous iframe. During the second iframe, the first one needs to be inaccesible.

    How can I do this?

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,411
    Rep Power
    25

    Default Re: Parent and child windows

    Change the design to use a CardLayout or use a modal dialog.
    Otherwise make a SSCCE and post it here.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Parent and child windows

    I'm not sure that a CardLayout would work with an IFrame. In fact I have to wonder if the original poster is talking about Java at all. OP, can you tell us what your Java-specific question is?

  4. #4
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,411
    Rep Power
    25

    Default Re: Parent and child windows

    I was thinking of JInternalFrame. Iframes are part of javascript.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. Parent and child form in java swing
    By sjohnfernandas in forum AWT / Swing
    Replies: 2
    Last Post: 02-24-2012, 05:59 AM
  2. Please help me. Parent and Child Class with Swing
    By paul6lazo in forum AWT / Swing
    Replies: 22
    Last Post: 09-07-2011, 05:37 PM
  3. invoking parent method even though child overrides it...
    By vinod_javaranch in forum New To Java
    Replies: 2
    Last Post: 08-18-2011, 04:33 PM
  4. Access Parent and child node
    By emyk in forum Advanced Java
    Replies: 0
    Last Post: 05-02-2011, 11:16 PM
  5. Parent & Child window issues......
    By jithan in forum New To Java
    Replies: 2
    Last Post: 09-20-2008, 09:21 AM

Posting Permissions

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