Original Post
java with eclipse
I have an object Object1 where a jTexArea is declared as
public jTextArea txtArea;
I also have another object Object2 declared in Object1
private InnerObject Object2;
whenever I try to access txtArea from Object2 I get an error that it can't resolve txtArea. The error is not solved by switching Object2 into a static method. How whould I be able to access txtArea thanks.
I have an object Object1 where a jTexArea is declared as
public jTextArea txtArea;
I also have another object Object2 declared in Object1
private InnerObject Object2;
whenever I try to access txtArea from Object2 I get an error that it can't resolve txtArea. The error is not solved by switching Object2 into a static method. How whould I be able to access txtArea thanks.