passing values to already displayed form

Hi all,

I have two frames which are already visible, only that one is set to "tofront()". Now after entering some values on the textfield in this first frame, I click an Ok button which is supposed to close this frame and at the same time cause the textfield values of this frame to be displayed in another textfield in the second frame, which is also already shown. I have tried many ways but not successful. Any assistance please?

[445 byte] By [OiyeMagohaa] at [2007-11-27 10:04:10]
# 1

> Now after entering

> some values on the textfield in this first frame, I

> click an Ok button which is supposed to close this

> frame and at the same time cause the textfield values

> of this frame to be displayed in another textfield in

> the second frame, which is also already shown.

You pass information via methods. Example:

if you have in the first frame a reference to the second frame,

you can easily call a method of the second frame to pass your values.

Andre_Uhresa at 2007-7-13 0:39:11 > top of Java-index,Desktop,Core GUI APIs...