🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#9748
From: Timothy Reaves
Date: Sat, 15 Jan 2000 00:00
29 lines
1710 bytes
    Well, I've tried both, and they both do appear to do the same thing.  I
was basing my argument on information from Core Java 1.2 Volume I -
Fundamentals.




"John P. McGrath" wrote:

> 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: <38809528.CDFD35FD@silverfields.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> <MPG.12ea02ff257702e5989735@forums.borland.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: Timothy Reaves <treaves@silverfields.com>
Subject: Re: jframe.setVisable() - why does JBuilder use it?
Date: 2000/01/15
Message-ID: <38809528.CDFD35FD@silverfields.com>
X-Deja-AN: 572989968
Content-Transfer-Encoding: 7bit
References: <387E3A18.A9E5A194@silverfields.com> <387E49DA.1DADD44E@inprise.com> <387E6ECC.314D5BA2@silverfields.com> <MPG.12e8b5e57aa506c7989730@forums.borland.com> <387F2798.69E62AD0@silverfields.com> <MPG.12ea02ff257702e5989735@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Silverfields
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing