Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Display console result in a jTextarea

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a problem with my code,in fact I can't output the stream from console to my jTextarea,this is my code:




thanks for help
 
Marshal
Posts: 25594
69
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello mil, welcome to the Ranch!

I have to say, I really don't want to read 400 lines of code, which is mostly unrelated to your question. And I expect others will feel the same. So could I ask you to read our SSCCE document (<-- yes, that's a link, follow it) and post a much shorter piece of code?
 
mil nahim
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Paul for your reply,I'am sorry,this is a peace of my code where I got the problem:


thanks again for help
 
mil nahim
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get nothing when I press the "Cache" bouton in jTextArea
 
Rancher
Posts: 3181
29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is not a SSCCE. The code does not compile and therefore is not executable so you are not demonstrating the problem.

Judging from the topic title maybe Message Console will help.
 
You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic