Results 1 to 2 of 2
  1. #1
    prtham is offline Member
    Join Date
    Jun 2013
    Posts
    1
    Rep Power
    0

    Default disposing jinternalframe when not in use

    I have a jinternalframe1 opened and when I click a button in this frame another Jinternalframe2 opens with no title bar.Now I want jinternalframe2 to automatically close(dispose) when I click any component(other than the button which opens jinternalframe2) in the jinternalframe1.
    If i could get any help.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,184
    Rep Power
    19

    Default Re: disposing jinternalframe when not in use

    I would start by looking at the methods available in InternalFrameListener. To get better help sooner, post a SSCCE (Short, Self Contained, Correct (Compilable), Example) that makes it clear where exactly you're stuck on implementing this.

    Before you post code, please go through the Guide For New Members and BB Code List - Java Programming Forum - Learn Java Programming


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

Similar Threads

  1. Disposing JFrame while using extends
    By SteJ in forum New To Java
    Replies: 4
    Last Post: 04-20-2012, 11:57 PM
  2. Replies: 1
    Last Post: 09-27-2011, 04:19 PM
  3. Replies: 4
    Last Post: 09-27-2011, 09:20 AM
  4. Replies: 0
    Last Post: 08-09-2011, 06:07 PM
  5. getting problem in disposing the widgets
    By thendral m in forum SWT / JFace
    Replies: 7
    Last Post: 01-12-2010, 08:37 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
  •