public class DesktopProcessRunner
extends java.lang.Object
InterruptibleProcess2
,
ServerProcessRunner
Constructor and Description |
---|
DesktopProcessRunner(InterruptibleProcess2 ip)
Constructs a wrapper to run the specified process as an own thread in
a desktop environment.
|
DesktopProcessRunner(InterruptibleProcess2[] ips,
ThreadDoneListener l)
Constructs a wrapper to run the specified process as an own thread in
a desktop environment.
|
DesktopProcessRunner(InterruptibleProcess2[] ips,
ThreadDoneListener l,
boolean startImmediately)
Constructs a wrapper to run the specified process as an own thread in
a desktop environment.
|
DesktopProcessRunner(InterruptibleProcess2 ip,
ThreadDoneListener l)
Constructs a wrapper to run the specified process as an own thread in
a desktop environment.
|
DesktopProcessRunner(InterruptibleProcess2 ip,
ThreadDoneListener l,
boolean startImmediately)
Constructs a wrapper to run the specified process as an own thread in
a desktop environment.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Thread |
getThread() |
void |
setTitle(java.lang.String title)
Sets the title for this frame to the specified string.
|
public DesktopProcessRunner(InterruptibleProcess2 ip)
ip
- the process to be executedpublic DesktopProcessRunner(InterruptibleProcess2 ip, ThreadDoneListener l)
ip
- the process to be executedl
- the lister to be informed about the termination of the processpublic DesktopProcessRunner(InterruptibleProcess2[] ips, ThreadDoneListener l)
ips
- the processes to be executedl
- the lister to be informed about the termination of the processstartImmediately
- whether or not thread is to be started immediatelypublic DesktopProcessRunner(InterruptibleProcess2 ip, ThreadDoneListener l, boolean startImmediately)
ip
- the process to be executedl
- the lister to be informed about the termination of the processstartImmediately
- whether or not thread is to be started immediatelypublic DesktopProcessRunner(InterruptibleProcess2[] ips, ThreadDoneListener l, boolean startImmediately)
ips
- the processes to be executed in sequencel
- the lister to be informed about the termination of the processstartImmediately
- whether or not thread is to be started immediatelyCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de