append to text field declared out of class
so in my gui class (the main class) i have a text field, which is sort of the debug window
but i want to write to it from constructors of other classes
but those constructors are called from the action listener of the gui class
so the problem is, i dont have an instance name for the gui class when i try to append to the debug text area in the constructors
how do i append to a text area in another class when i have no instance name for the class with the text area in it?
Re: append to text field declared out of class
Why can't you send the instance of the class to the debug window, or whatever you need to access where ever you need to access it?
Althernatively, you might find something useful here: Java Debug Interface
I'm not too sure where to look for something helpful.