This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Get Programming with Java (MEAP only) and have Peggy Fisher on-line!
See this thread for details.
Win a copy of Get Programming with Java (MEAP only) this week in the Beginning Java 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Help me....Urgent...JTextArea Problem ... Urgent  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For my project I have created one file.Where I have created JTextArea.That I set in JScrollPane.This Scrollpane is set in a JPanel and then this panel in JDialog.

Now I need to set different display terminal to show this Result dialog I set as.I am calling this from my scheduler which is another java prog.

resexe="java showres "+resfile.trim()+" "+tempactivity.JOBID+"
"+tempactivity.program+" "+tempactivity.satid+" "+respara;

Process procres=Runtime.getRuntime().exec(resexe,resdisp);

Now what is happening the textarea not showing files for more than 20 lines.
But when I am closing my scheduler then the textarea is showing large file.

It is not getting refreshed for large no of lines.

Please help me.What I can to to refresh it.In the showres prog I have used

dialog.pack(0 and setVisible(true);
[ February 28, 2008: Message edited by: sampa sampa ]
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First off regarding your urgency, please have a look here.

Next off, you may have better luck getting folks to understand your problem if you post some code. Often an SSCCE works best to demonstrate the problem here.

It's just like a fortune cookie, but instead of a cookie, it's pie. And we'll call it ... tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!