Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
It's possible to return this whats is assigned to "System.out.printl" in my code in jTextArea in NetBeans?

What I have tried:

Because in result i see only this whats in "return".
Posted
Updated 31-Jan-17 21:02pm
v2
Comments
[no name] 31-Jan-17 14:55pm    
Pretend that you are trying to explain a problem to people that know nothing at all about your project then try and explain it to us. I am quite sure that what you wrote here means something perfectly clear to you but to the rest of the world, it means nothing at all.
Patrice T 1-Feb-17 3:26am    

1 solution

System.out is the standard output, aka the console. JTextArea is part of the Java windows framework and needs to be accessed through its class interfaces. It may be possible to capture System.out (via redirection) and then write the content into the GUI, but it's probably more trouble than coding directly.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900