If I have an application that when I compile I get two differents frames(Frame1.java
and Frame2.java) lets say that I want ot send data from Frame1 to Frame2(
assuming that on Frame2 I have a textArea to receive any data)
My problem is that since both are open at the same, I can not send data from
one to another. If there is a way to refresfh Frame2?
Frame1.java I have "a = 5;" I want to send "a" to Frame2.
This is what I'm doing:
I'm declaring this on Frame1.java
Frame2 fm = new Frame2();
fm.textArea1.append(a); but is not working?I think because both are open
Thanks in advance.
Appreciate for some help.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center