Article View: borland.public.jbuilder.java.swing
Article #9744Re: jframe.setVisable() - why does JBuilder use it?
From: Timothy Reaves
Date: Fri, 14 Jan 2000 00:00
Date: Fri, 14 Jan 2000 00:00
22 lines
1560 bytes
1560 bytes
"John P. McGrath" wrote:
> On Thu, 13 Jan 2000 19:33:16 -0500, Timothy Reaves wrote:
>
> > rwilkman wrote:
> >
> > > Component.show() (which is where this eventually ends up)
> > > was deprecated in 1.1. It's a JDK 1.0 call.
> >
> > Yes, but Window.show() is NOT deprecated. It is a better
> > method to use, is it not?
>
> --snip--
> The docs for Window.show() says that it will bring the Window to the
> front. The docs for Component.setVisible(boolean) do not mention this,
> because it applies to other Components besides Windows, and it does not
> have that behavior for the other types of Components. Similarly, the
> docs for the Dialog show() method describe the effects of show() on a
> modal dialog, but those behaviors also apply to setVisible(true) on a
> Dialog.
But setVisable(true) does NOT bring the window to the foreground.
Technical Details
Message-ID:
<387F2798.69E62AD0@silverfields.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<387E3A18.A9E5A194@silverfields.com> <387E49DA.1DADD44E@inprise.com> <387E6ECC.314D5BA2@silverfields.com> <MPG.12e8b5e57aa506c7989730@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/14 Message-ID: <387F2798.69E62AD0@silverfields.com> X-Deja-AN: 572556270 Content-Transfer-Encoding: 7bit References: <387E3A18.A9E5A194@silverfields.com> <387E49DA.1DADD44E@inprise.com> <387E6ECC.314D5BA2@silverfields.com> <MPG.12e8b5e57aa506c7989730@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