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

    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 Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    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 and BB Code List - Java Programming Forum - Learn Java Programming

    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, 09: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