Article View: borland.public.jbuilder.java.swing
Article #12042Re: JDialog behaviour
From: Rodolfo Botto
Date: Thu, 25 Feb 1999 00:00
Date: Thu, 25 Feb 1999 00:00
59 lines
2761 bytes
2761 bytes
I've tested my application using JDK (or JRE) 1.1.7 and in this environment the blinking effect doesn't appear. Also JDialog icon is inherited from JFrame icon. I am having another problems with this VM, so I am testing seriously to evaluate using this environment for JRE 1.1.x deployment or not. Thank you for yout answer. Tommy Cox wrote: > I have seen it lots of times. And, it functions a little differently during > debugging and using a deployment JDK like 1.1.7, etc... > > The main thing is in the underlying design. I don't know the exact answer, > but I know that it is related to the selection of the parent component that > you select in the first parameter of the dialog's constructor. Don't type > cast or use a panel or something. I also use getContentPane before adding > components to my JFC main frame windows. > > I realize this answer is a little vague.. I just don't have time to go look > at all my source code to find exact reasons.. no one else had answered so > hopefully something is better than nothing in this case. > > Tommy > > Rodolfo Botto wrote in message <36D2E3D5.DF6CC696@isoft.com.uy>... > >When I close a modal JDialog, the parent JFrame seems to be moved back > >and > >front in Windows hierarchy, making a visual blinking effect I want to > >avoid. > >Anyone knows how to avoid this? > > > >-- > > > >Thanks, > >Rodolfo Botto. > > > > > >=========================================================== > >Rodolfo Botto IdeaSoft > >Gabriel Pereira 2941 - CP 11300 icq# 18349112 > >Montevideo - Uruguay Tel : +5982 - 709 2590 > >http://www.isoft.com.uy Fax : +5982 - 709 2805 > >=========================================================== > > > > -- Saludos. Rodolfo Botto. =========================================================== Rodolfo Botto IdeaSoft Gabriel Pereira 2941 - CP 11300 icq# 18349112 Montevideo - Uruguay Tel : +5982 - 709 2590 http://www.isoft.com.uy Fax : +5982 - 709 2805 ===========================================================
Technical Details
Message-ID:
<36D5D66B.288A6772@isoft.com.uy>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36D2E3D5.DF6CC696@isoft.com.uy> <7b4a7i$eec27@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,c27978843c3a24da X-Google-Attributes: gid111d45,public From: Rodolfo Botto <rbotto@isoft.com.uy> Subject: Re: JDialog behaviour Date: 1999/02/25 Message-ID: <36D5D66B.288A6772@isoft.com.uy> X-Deja-AN: 448501725 Content-Transfer-Encoding: 7bit References: <36D2E3D5.DF6CC696@isoft.com.uy> <7b4a7i$eec27@forums.borland.com> To: Tommy Cox <TommyCox@Compuserve.Com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: IdeaSoft Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing