Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

command prompt output to text area

 
sam sawant
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to display command prompt output of 1 frame to text area of other frame?
what exactly i have to do ?
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is
"command prompt output of 1 frame"

generally, if you want to access another frame's textArea, the easiest is to pass a reference, or supply a getter method
 
sam sawant
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its a normal output,in my case its tag id read by reader.
 
sam sawant
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am beginner in java
so if you please tell me in detail, how can i do it?
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sam,

First off, welcome to JavaRanch. Glad to have you. Secondly please read this. Your last two posts were less than 20 minutes apart. We're all just volunteers here. We have jobs, families, life, etc.

Rob asked

what is
"command prompt output of 1 frame"


and your response didn't tell us much more. So what is a command prompt output of 1 frame? Is it a JTextArea or what? Is all this code you've written or are you using a library of some sort? Please TellTheDetails.

We're eager to help as long as you help us.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic