Paul Clapham wrote:
Jason Richard wrote:At first I thought all i would have to do would be to access the component, but that is not working out so well.
That's what I would have thought too. So would you like to clarify "not working out so well"?
In the meantime I'm going to guess that you're running this log-producing code in the Swing thread. If that phrase doesn't ring a bell, check out the tutorial: Lesson: Concurrency in Swing.
So the log producing code is in the Swing thread but in a class outside of the GUI itself. If a button is pressed I'm now I'm just launching my old codes main
MyCode.main(args);
and the code kicks off great, and as of right now All my log files are created, and my console output is generated correctly. All i was trying to do was for starters was to duplicate the console output to the text area.
I will take a look at that link you provided thanks.