|
-
June 15th, 2012, 08:08 PM
#1
Accessing jTextArea from other object
I have an object Object1 where a jTextArea is declared as
public jTextArea txtArea;
I also have another object Object2 declared in Object1
private InnerObjects Object2;
Whenever I try to access txtArea from Object2 I get an error. The error is not solved by switch Object2 into a static method. How would I be able to access txtArea? Thanks.
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
|
Click Here to Expand Forum to Full Width
|