🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Dialog always on top?

#8189
From: SPG
Date: Thu, 12 Oct 2000 00:00
13 lines
986 bytes
Hi,

I have a JFrame, that launches a model JDialog. The problem is that if
another application gets focus, and then is move over the top of my Frame
and dialog, the modal dialog is then repainted behind the frame. It still is
loaded and has focus, we just cannot see it.

I have implemented a thread that runs when the dialog is created, calling
setTopMost() evet 100 millisecs, but this is nasty.

Does anyone know of a better way??

Steve
Technical Details
Message-ID: <8s497u$grr$1@gxsn.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,74f00f1739e73000,start
X-Google-Attributes: gid111d45,public
From: "SPG" <sgoodsell@knowhowsystems.com>
Subject: Dialog always on top?
Date: 2000/10/12
Message-ID: <8s497u$grr$1@gxsn.com>
X-Deja-AN: 680538634
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@gxsn.com
X-Trace: 971352126 1NNUCNF1G4D85C393C gxsn.com
Organization: GXSN
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing