🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JDialog behaviour

#12038
From: Tommy Cox
Date: Thu, 25 Feb 1999 00:00
35 lines
1828 bytes
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
>===========================================================
>
>
Technical Details
Message-ID: <7b4a7i$eec27@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36D2E3D5.DF6CC696@isoft.com.uy>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c27978843c3a24da
X-Google-Attributes: gid111d45,public
From: "Tommy Cox" <TommyCox@Compuserve.Com>
Subject: Re: JDialog behaviour
Date: 1999/02/25
Message-ID: <7b4a7i$eec27@forums.borland.com>
X-Deja-AN: 448432115
References: <36D2E3D5.DF6CC696@isoft.com.uy>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Cox Enterprises
Newsgroups: borland.public.jbuilder.java.swing