Please help me :
I explain my problem under a example .
I have two separate java Program that run on the same
computer : Program -1 & Program-2 .
Explain Program-1 :
Name of Program -1 is “InputFrame” that is a simple frame that contain a
JTextField and a Button and a JTextArea .
Explain Program 2 :
Name of Program-2 is “OutputFrame” that is a simple frame that contain
a simple JTextArea that this JTextArea is a Instance object
from a class with name of “DisplayFrame” .
This instance object from class of “DisplayFrame” added to
frame of “OutputFrame” .
Explain My Problem :
Now I want run both Program 1 & 2 simultaneously in the same computer
and when I enter a text in JTextField in Program-1 and after click on
the Button “OK” that Text Entered in this JTextField In addition to
JTextArea in Program-1 display In JTextArea in Program-2 .
I do not want use a share file between two Program-1 and -2 Or DataBase .
I want if Program-1 run but Program-2 is not running and i enter a text in JTextFeild in Program-1 , after running Program-2 that Entered Text Displaye in JTextArea in Frame of Program-2 .(Offline Message) .
Both Source code of Program-1 and Program-2 is Attached .