Solved

displaying UNIX stdout in JAVA GUI

Posted on 2002-06-24
3
138 Views
Last Modified: 2010-05-18
I have a a simple GUI with
1. TEXT AREA
2. BUTTON

when I push the button, the program runs a simple UNIX command (for example, "who" or "ls")
I need to echo the results of that command to the text area.

I don't want to do this by redirection to a file ("ls > outputfile") and then opening the file for the textarea.

I want to do this in real time, if possible (For example, if the unix command is a long "grep", then the results would scroll on the text area.

is this possible to do???

By the way, I am using JAVA NATIVE to run the unix commands ('C' system call)
0
Comment
Question by:happyloman
3 Comments
 
LVL 9

Expert Comment

by:Ovi
ID: 7106681
0
 
LVL 19

Accepted Solution

by:
cheekycj earned 0 total points
ID: 7107693
Duplicate Question Experts please post comments here:
http://www.experts-exchange.com/java/Q_20315518.html

Happyloman: Please delete this question.

Thanx,
CJ
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7109283
You posted this same question 11 times, and all have been closed.  Those which contained help to you we can leave, but others which were experts trying to alert you of the multiple entries, I'll refund for you.  Please use the "reload" button versus your Browser control buttons, and also don't hit submit more than once when creating a question.  

If you need help, any time, post a zero point question here:
http://www.experts-exchange.com/commspt/
Include the question link (URL)

Thank you,
Moondancer - EE Moderator
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now