Article View: borland.public.jbuilder.java.language
Article #17613referrencing
From: Jonathan
Date: Tue, 27 Oct 1998 00:00
Date: Tue, 27 Oct 1998 00:00
23 lines
1059 bytes
1059 bytes
I have created a frame, in one place, however, i want another program in
same package to call a component on this frame, more specifically
textFieldControl1.setText(....);
now the problem is because i created the frame in a diferent program, how
do i get another program to set a components text.
Before you answer- i tried the following
prog1.java
MyFrame something = new MyFrame// carr5ied out in the frame program
prog2.java
MyFrame something; // in another program
something.textFieldControl1.setText("fdhdfjfk") // this gives me an error
it says that maybe soemthing
has not been initialised
what do i do to get aroung this problem
Technical Details
Message-ID:
<01be0195$70a6b140$881aea9e@ukp10008>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,a3b5519178b0f6eb,start X-Google-Attributes: gidf74b3,public From: "Jonathan" <plaskowj@logica.com> Subject: referrencing Date: 1998/10/27 Message-ID: <01be0195$70a6b140$881aea9e@ukp10008> X-Deja-AN: 405514506 Organization: Logica UK Limited Newsgroups: borland.public.jbuilder.java.language