[6306] in java-interest
Accessing items in another window
daemon@ATHENA.MIT.EDU (tahmed)
Thu Mar 28 18:14:00 1996
Date: Thu, 28 Mar 1996 17:44:14 -0500
Reply-To: Java Interest <JAVA-INTEREST@JAVASOFT.COM>
From: tahmed <tahmed@ON.BELL.CA>
To: Multiple recipients of list JAVA-INTEREST
<JAVA-INTEREST@JAVASOFT.COM>
In-Reply-To: <199603260100.SAA08625@maple.enet.net>
Ok, here's the deal. I'm using Rogue Wave JFACTORY and building
this program. First let me say, JFactory is AWESOME! I built a
working prototype of my application in 20 mins. And one of the guys
who's on my team but in the business side of things, he's like "$500
is too expensive.." And I'm like, hello... This $500 program did in
20mins which would have taken a month to learn how to do. You've gained
your money back in man hours big time.
Anyways. So my main screen has this list box, and you can click
on a button to add an item. So it brings up a dialog box, and you
input in all the stuff. In the source is calls this AddListBox class,
and passes the applet itself, a parent frame, a string, and a modal.
Now when you click OK on the dialog, I want to update that list
box. But at the moment, I'm in a different class that's out of scope
of the listbox.
Now, I guess I can just pass in a reference to the list box.
So my first question is, everything in JAva is passed by reference right?
So I just pass it to the constructor, and it has direct access right.
Ok, but I have the parent frame and applet. Is there a way
I can access the listbox element using the frame or the reference to
the applet?
Thanks.
+-=-=-=-=-=-=-=-=Tariq Ahmed - Bell Sygma Telecom Solutions=-=-=-=-=-=-=-=+
160 Elgin St. Room 250. Ottawa, Ontario. K2P 2C4. (613)781-9820 F:238-7772
inet: tahmed@on.bell.ca IIS: TAHMED HomePage: http://cygnus.igs.net/ratt/
-----
This message has been forwarded via the JAVA-INTEREST
mailing list. In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).