Results 1 to 2 of 2
  1. #1
    .paul. is offline Member
    Join Date
    Jun 2012
    Posts
    73
    Blog Entries
    1
    Rep Power
    0

    Question access parent form public member from child form

    how can i access a parent form public member from a child form?
    i can't show the child form as a modal dialog + the variable i want to change keeps track of the open state of the child form:

    Java Code:
    public boolean isOpen = false;
    when i first open the child form, i set isOpen = true, but if the user closes the child form, i want to reset it to false...

  2. #2
    .paul. is offline Member
    Join Date
    Jun 2012
    Posts
    73
    Blog Entries
    1
    Rep Power
    0

    Default Re: access parent form public member from child form

    nevermind. i resolved it by adding a parameter in the constructor.

Similar Threads

  1. Parent and child form in java swing
    By sjohnfernandas in forum AWT / Swing
    Replies: 2
    Last Post: 02-24-2012, 06:59 AM
  2. Access Parent and child node
    By emyk in forum Advanced Java
    Replies: 0
    Last Post: 05-03-2011, 12:16 AM
  3. Replies: 1
    Last Post: 03-22-2010, 10:03 AM
  4. Replies: 0
    Last Post: 10-31-2009, 10:24 AM
  5. Replies: 10
    Last Post: 08-12-2009, 05:02 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
  •