• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help me....Urgent...JTextArea Problem ... Urgent

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
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.

resdisp[0]="DISPLAY="+10.22.34.145:0.0;
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 ]
 
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

HTH.
 
You’ll find me in my office. I’ll probably be drinking. And reading this tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic