Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23790

How to send console progress information to gui

Newsgroups comp.lang.java.programmer
Date 2013-05-02 11:49 -0700
Message-ID <6aaa6aa4-440f-44fc-8efe-a06f6603e71b@googlegroups.com> (permalink)
Subject How to send console progress information to gui
From mike <mikaelpetterson@hotmail.com>

Show all headers | View raw


Hi,

I am using java to send a commdline arg 'mklabel –config hello.o REL3'.
The output that I get is a new line for each element a put the label on.
In my application I want to show the user the progress of the command.
Can I create an event that contains the information for each line and send it to a listener? Or is there a better way?


br,

//mike

Output from console:
mklabel –config hello.o REL3 
Created label "REL3" on "/usr/hw/" version "/main/1".
 Created label "REL3" on "/usr/hw/src" version "/main/2".
 Created label "REL3" on "/usr/hw/src/hello.c" version "/main/3".
 Created label "REL3" on "/usr/hw/src/hello.h" version "/main/1".

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

How to send console progress information to gui mike <mikaelpetterson@hotmail.com> - 2013-05-02 11:49 -0700
  Re: How to send console progress information to gui Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-05-02 12:05 -0700
    Re: How to send console progress information to gui mike <mikaelpetterson@hotmail.com> - 2013-05-07 04:50 -0700
    Re: How to send console progress information to gui Robert Klemme <shortcutter@googlemail.com> - 2013-05-21 03:22 -0700
  Re: How to send console progress information to gui Arne Vajhøj <arne@vajhoej.dk> - 2013-05-18 19:38 -0400
    Re: How to send console progress information to gui "John B. Matthews" <nospam@nospam.invalid> - 2013-05-19 00:34 -0400
      Re: How to send console progress information to gui Arne Vajhøj <arne@vajhoej.dk> - 2013-06-01 22:09 -0400

csiph-web