Article View: borland.public.jbuilder.java.language
Article #18196Re: How to access to a Grid that is in other class?
From: Paul Furbacher
Date: Mon, 27 Jul 1998 00:00
Date: Mon, 27 Jul 1998 00:00
16 lines
1210 bytes
1210 bytes
Alberto,
Perhaps I confused the issue a bit. The simplest way
is to make sure:
1) both classes (frames) are in the same package or,
if not, use an "import" statement; and
2) that the grid control is declared "public".
But beyond that, this kind of referencing from one
view to another isn't the best of designs. That's
what the comments about a "controller" were aimed
at. For now, it might be best to stick with the
simplest approach.
Paul Furbacher
Technical Details
Message-ID:
<35BCCDD1.8CC442F7@bilbo.bio.purdue.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35B5A940.F66E0E5B@jet.es> <35B78E7C.3F2B7CE8@bilbo.bio.purdue.edu> <35BCB7E3.36134106@clientes.euskaltel.es>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,8defb950e00b3e64 X-Google-Attributes: gidf74b3,public From: Paul Furbacher <pf@bilbo.bio.purdue.edu> Subject: Re: How to access to a Grid that is in other class? Date: 1998/07/27 Message-ID: <35BCCDD1.8CC442F7@bilbo.bio.purdue.edu> X-Deja-AN: 375393462 Content-Transfer-Encoding: 7bit References: <35B5A940.F66E0E5B@jet.es> <35B78E7C.3F2B7CE8@bilbo.bio.purdue.edu> <35BCB7E3.36134106@clientes.euskaltel.es> To: Alberto <alga@clientes.euskaltel.es> 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.language