Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
sampa sampa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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 ]
 
pete stein
Bartender
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.

HTH.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!