Article View: borland.public.jbuilder.java.swing
Article #1498Re: Dialog box association
From: Lori M Olson (TeamB)
Date: Mon, 15 Dec 2003 21:26
Date: Mon, 15 Dec 2003 21:26
31 lines
2178 bytes
2178 bytes
Matthew Sweet wrote:
> I've created a dialog box within a class that is instantiated by the main
> Frame class. I run my program and the dialog box pops up, however when I
> click off my application and then click back to it, the dialog box doesn't
> come back with my main application. How to I associate my dialog box with
> the main frame when the dialog box is created by another class?
>
>
Did you give the dialog box an "owner" frame? It needs to be "owned" by
your main application window, in order to get the behavior you want.
--
Regards,
Lori Olson (TeamB)
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID:
<3fde265c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!priapus.visi.com!orange.octanews.net!news.octanews.net!hermes.visi.com!phobos.visi.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fde2463@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,55c92298dba121d1 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-12-15 13:25:41 PST Date: Mon, 15 Dec 2003 14:26:11 -0700 From: "Lori M Olson (TeamB)" <javadragon@techie.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax; CDonDemand-Dom) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Dialog box association References: <3fde2463@newsgroups.borland.com> In-Reply-To: <3fde2463@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 142.179.181.200 Message-ID: <3fde265c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1071523420 142.179.181.200 (15 Dec 2003 13:23:40 -0700) Lines: 32 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!priapus.visi.com!orange.octanews.net!news.octanews.net!hermes.visi.com!phobos.visi.com!news-out.visi.com!petbe.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail