Add an event listener for the child window within the main
window:
        childwindow.addActionListener(parentWindow)

        You'll have to play with it to get the correct syntax.  Also,
comp.lang.java would be a better place for this question.

        -Tom


ALPESH KOTHARI wrote:
> 
> Hello all,
> 
> I have got a main window and a child window. I want to listen the
> action of the button pressed from the child window and take necessary
> action in the main window. What should I do?
> 
> Also, if some reference of Web, or book is available please let me
> know.
> 
> With regards,
> alpesh
> 

-- 
+-------------------------------------------------------------------+
+  Thomas M. Sasala, Electrical Engineer       [EMAIL PROTECTED]       +
+  MRJ Technology Solutions                    http://www.mrj.com   +
+  10461 White Granite Drive, Suite 102        (W)(703)277-1714     +
+  Oakton, VA   22124                          (F)(703)277-1702     +
+-------------------------------------------------------------------+


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to