S
Steve
I'm building a small GUI front-end for a command-line utility. I
need the front-end to run the command-line utility in a background
thread... piping the output to a GUI widget, and piping any user
input from that widget back to the utility. Basically, I need to
mimic a simple command-prompt console in a GUI widget.
I know that the full-blown Eclipse framework has utility classes
for doing this sort of thing. However, my needs aren't so
feature-rich, and I'm really hoping to avoid having to ship with the
entire Eclipse framework. I would prefer limiting my dependencies
to vanilla SWT if possible, maybe even compiling the app natively
with GCJ for deployment.
Has anyone seen any applications or code examples of such a
console-passthrough widget in SWT? Thanks in advance!
need the front-end to run the command-line utility in a background
thread... piping the output to a GUI widget, and piping any user
input from that widget back to the utility. Basically, I need to
mimic a simple command-prompt console in a GUI widget.
I know that the full-blown Eclipse framework has utility classes
for doing this sort of thing. However, my needs aren't so
feature-rich, and I'm really hoping to avoid having to ship with the
entire Eclipse framework. I would prefer limiting my dependencies
to vanilla SWT if possible, maybe even compiling the app natively
with GCJ for deployment.
Has anyone seen any applications or code examples of such a
console-passthrough widget in SWT? Thanks in advance!