Article View: borland.public.jbuilder.java.language
Article #19922Re: Frame/Window
From: Mark Lindner
Date: Tue, 25 Nov 1997 00:00
Date: Tue, 25 Nov 1997 00:00
27 lines
1606 bytes
1606 bytes
Mark Hunter wrote: > > Gary McGath wrote: > > > I don't think that's what he was asking. Windows aren't linked by getParent(). > > > > Actually, I think Windows *are* linked by getParent(). Dialogs are linked to their parent Frames, but Frames aren't linked to each other. > If I have an > instance of Container, which is what getParent() returns, how can I tell > if that object is a Window or not? Use instanceof Cheers, Mark ----------------------------------------------------------------------- Mark Lindner | frenzy@ix.netcom.com 100% Pure Java Developer | http://love.geology.yale.edu/~markl/ -----------------------------------------------------------------------
Technical Details
Message-ID:
<347BAA44.8880B08E@ix.netcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<347440C3.D0B76A6B@oop.com> <3475E14E.AE4B0525@wli.net> <gmcgath-ya02408000R2111972049260001@news.ma.ultranet.com> <347B8824.429C@dpsla.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a146,753c9b5de73c4539 X-Google-Attributes: gid10a146,public X-Google-Thread: fecd1,753c9b5de73c4539 X-Google-Attributes: gidfecd1,public X-Google-Thread: f74b3,753c9b5de73c4539 X-Google-Attributes: gidf74b3,public X-Google-Thread: 10fd6d,753c9b5de73c4539 X-Google-Attributes: gid10fd6d,public From: Mark Lindner <frenzy@ix.netcom.com> Subject: Re: Frame/Window Date: 1997/11/25 Message-ID: <347BAA44.8880B08E@ix.netcom.com> X-Deja-AN: 292748937 References: <347440C3.D0B76A6B@oop.com> <3475E14E.AE4B0525@wli.net> <gmcgath-ya02408000R2111972049260001@news.ma.ultranet.com> <347B8824.429C@dpsla.com> Organization: PING Software Group X-NETCOM-Date: Tue Nov 25 10:50:38 PM CST 1997 Newsgroups: borland.public.jbuilder.java.language,comp.lang.java.gui,comp.lang.java.programmer,comp.lang.java.api