• 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 ...
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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 showresult.java 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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!