Article View: borland.public.jbuilder.java.swing
Article #11196JDialog, JTable, and Garbage Collection
From: Lisa Elliott
Date: Fri, 25 Jun 1999 00:00
Date: Fri, 25 Jun 1999 00:00
14 lines
1122 bytes
1122 bytes
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
Technical Details
Message-ID:
<37739F78.D5314A78@jhmi.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,da7978491cba0025,start X-Google-Attributes: gid111d45,public From: Lisa Elliott <lelliot@jhmi.edu> Subject: JDialog, JTable, and Garbage Collection Date: 1999/06/25 Message-ID: <37739F78.D5314A78@jhmi.edu> X-Deja-AN: 493802070 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing