🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: jframe.setVisable() - why does JBuilder use it?

#9746
From: John P. McGrath
Date: Sat, 15 Jan 2000 00:00
20 lines
1349 bytes
On Fri, 14 Jan 2000 08:41:44 -0500, Timothy Reaves wrote:

> But setVisable(true) does NOT bring the window to the foreground.

Really?  I was pretty sure that setVisible(true) and show() did the same 
thing.  I presume you have changed out the one statement and saw a 
different behavior?

Under what conditions does setVisible/show get called?  Is it in the 
handler for a button or menu item from another frame?  Or does some other 
event cause it to be called?

Do you have a small example program that shows this?  If you do, I will 
try tracing the call, and see whether the code follows the path that I 
thought it followed.

-- 
John P. McGrath
<JPMcGrath@fast.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.12ea02ff257702e5989735@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <387E3A18.A9E5A194@silverfields.com> <387E49DA.1DADD44E@inprise.com> <387E6ECC.314D5BA2@silverfields.com> <MPG.12e8b5e57aa506c7989730@forums.borland.com> <387F2798.69E62AD0@silverfields.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,95d45e4244dd334e
X-Google-Attributes: gid111d45,public
From: John P. McGrath <JPMcGrath@fast.net>
Subject: Re: jframe.setVisable() - why does JBuilder use it?
Date: 2000/01/15
Message-ID: <MPG.12ea02ff257702e5989735@forums.borland.com>
X-Deja-AN: 572908454
References: <387E3A18.A9E5A194@silverfields.com> <387E49DA.1DADD44E@inprise.com> <387E6ECC.314D5BA2@silverfields.com> <MPG.12e8b5e57aa506c7989730@forums.borland.com> <387F2798.69E62AD0@silverfields.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing