Posted by layden
on May 29, 2010 at 9:54 PM PDT
I'm not sure here is the right place to ask this but I'll try and if I'm in wrong place I expect the experts to guide me!
What I have:
Using Netbean IDE 6.8
Have a JFrame containing my main() (called it MainFoo) .... and a TextArea (called it TextArea1).
Having another JFrame (called SubFoo) which has some TextFields (called it TextField1).
Having a class (called MyFooClass) which has been invoked by MainFoo JFrame and subsequently Will invoke SubFoo JFrame.
I have Invoked SubFoo from my MyFooClass like this:
private SubFoo SFInstance;
SFInstance = new SubFoo();
How should I write the Java code in my SubFoo JFrame to display the text typed in TextField1, in the TextArea1 of my MainFoo JFrame?
Is it possible?
I just updated the 3 lines of codes in my post according to names I've given, hope it makes it more understandable...
Message was edited by: layden