Article View: borland.public.jbuilder.java.swing
Article #13334Re: getLocation of JPanel
From: Paul Furbacher
Date: Wed, 12 Aug 1998 00:00
Date: Wed, 12 Aug 1998 00:00
13 lines
961 bytes
961 bytes
Duc Dat Tran wrote: > Can someone tell me why I always get x=0 and y=0 when : > > jpanel.getLocation(); is executed, > > even if the jpanel is located in the middel of the screen. Is it possible that "jPanel" is nested inside some container and its origin is indeed (0, 0) relative to that container? Paul Furbacher
Technical Details
Message-ID:
<35D1CA1A.B40E1AC0@bilbo.bio.purdue.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35D1A018.AFCA7BF5@nooft.abb.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,e3cf5a768167666a X-Google-Attributes: gid111d45,public From: Paul Furbacher <pf@bilbo.bio.purdue.edu> Subject: Re: getLocation of JPanel Date: 1998/08/12 Message-ID: <35D1CA1A.B40E1AC0@bilbo.bio.purdue.edu> X-Deja-AN: 380452756 Content-Transfer-Encoding: 7bit References: <35D1A018.AFCA7BF5@nooft.abb.no> To: Duc Dat Tran <duc-dat.tran@nooft.abb.no> Content-Type: text/plain; charset=us-ascii Organization: Biological Sciences, Purdue Univ. Mime-Version: 1.0 Reply-To: pf@bilbo.bio.purdue.edu Newsgroups: borland.public.jbuilder.java.swing