Hi again Outliner,
Yes it's possible in many ways... it depends on the requirements of your program.
Maybe the easiest (maybe not the best) way to do this is to get InputStream from the process you started (Look at the first reply).
When you do this, Printer program's OutputStreams are received by Sender.
Here is an example how you could do it (this is related to the first reply I wrote):
Process p = ..... // execute&get the process here
BufferedReader _br = new BufferedReader(new InputStreamReader(p.getInputStream())); // Get process's InputStream
try
{
String reply = new String(); // outputstream rode
boolean replyReceived = false; // is reply received
while(!replyReceived)
{
reply = _br.readLine();
// If received String that starts REPLY:
if(reply.startsWith("REPLY:"

)
{
System.out.println("Reply received: " + reply);
replyReceived = true; // End loop
}
}
}
catch(IOException ioe)
{
System.out.println(ioe.toString());
}
______________________________________________
Here is the modifications to Print class (Still look at the code in first reply...):
public Print(String receivedParam)
{
super(receivedParam);
this.setSize(300,200);
this.show();
System.out.println("REPLY: Thanks for your parameter"

;
}
________________________________
So this program acts like this:
It starts Print program that receives parameter from Sender.
After Print has received the parameter it uses System.out.println to print out the reply (Sender listens that stream with BufferedInputStream type object).
The bad thing about this implementation is that you have to use System.out to print that reply... but on the other hand when you do it like this you dont have to open any sockets for communication.
Notice that in this code, if Print-program doesn't print that reply, the sender will be in endless loop...
Hope you get it work!