-
urgent!!
I don't undertand what I'm doing wrong, I'm trying to pass a value from a
Frame2.java to Frame1.java
For example:
in Frame2.java I have the following:
String h = jTextField1.getText;
//--------------------------------------------
and in Frame1.java I have the following:
Frame2 frame2 = new Frame2();
JOptionPane.showMessageDialog (null,frame2.h);
can you tell me what I'm doing wrong
thanks in advance
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