🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #11197

Re: JDialog, JTable, and Garbage Collection

#11197
From: Rich Wilkman
Date: Fri, 25 Jun 1999 00:00
39 lines
1981 bytes
Lisa:

Usually you have to null out any listeners, etc. as they'll keep objects
around beyond the cows coming home.  There will be times, however, when
you'll just chase this type if thing into a JFC item.  Optimize it
should let you track down those references one at a time.

-Rich

Lisa Elliott wrote:
> 
> I have an application in which the action of a JButton is to show a
> JDialog that contains a JTable on a JScrollPane.   I am using
> Intuitive's OptimizeIt to watch for objects that are not being garbage
> collected.
> When the JDialog is disposed, the JDialog, JScrollPane and JTable are
> not garbage collected.   It appears as though they are the owners of the
> focus.   Is it possible for a dialog to be diposed and still own the
> focus?    Is there a way to tranfer the focus back to the main frame of
> the application once the Jdialog has been disposed ?
> 
> Thanks in advance for any help
> 
> Lisa

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <3773A3C5.57F022@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37739F78.D5314A78@jhmi.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,da7978491cba0025
X-Google-Attributes: gid111d45,public
From: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: JDialog, JTable, and Garbage Collection
Date: 1999/06/25
Message-ID: <3773A3C5.57F022@inprise.com>
X-Deja-AN: 493808111
Content-Transfer-Encoding: 7bit
References: <37739F78.D5314A78@jhmi.edu>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing