A rather simple question I hope. How do I print the text within a component in Java? or print the
contents of a file? For example, in a TextArea? I see there is a printall method for graphics but it only
does a screen snap shot and not the contents of the component. I looked into the System.out.println but
not sure how to reroute the standard output stream. If possible?