Article View: borland.public.jbuilder.java.swing
Article #1452handling JDialogs
From: George
Date: Mon, 24 Nov 2003 19:32
Date: Mon, 24 Nov 2003 19:32
15 lines
1495 bytes
1495 bytes
I have this "problem" under Windows. I open a modal JDialog subclass from the menu of my frame window. Now if I switch to some other task on the Windows task bar and then return to my app by clicking it in the task bar, I see only the frame window. I have to manually locate the dialog by closing the windows of other tasks. I thought I could get the dialog to stick to the frame by setting the frame as the parent of the dialog. But it doesnt seem to work. I also notice that the JBuilder IDE itself doesn't have this problem: their dialogs "adhere" to the frame window. Can someone help me with the details on how this effect is achieved? TIA
Technical Details
Message-ID:
<3fc25c5a$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,1784575f2ca3bb72,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-11-24 11:40:24 PST From: "George" <geo_54321@yahoo.com> Newsgroups: borland.public.jbuilder.java.swing Subject: handling JDialogs Date: Mon, 24 Nov 2003 14:32:19 -0500 Lines: 17 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 63.119.115.129 Message-ID: <3fc25c5a$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069702234 63.119.115.129 (24 Nov 2003 11:30:34 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail