-
update
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?
For exanple:
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
already.
Thanks in advance.
Appreciate for some help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks