I have a code like this,

        ...........
        ..........
        JFrame myFrame;
        ...........
        frame initialization and other operations
        ..................
        myFrame.pack();
        myFrame.setVisible(true);
        statement 1

myFrame contains a button to make it invisible again (along with other
operations). 

Now I want to keep the execution of statement 1 suspended until the
frame is made invisible. My design requirements does not allow adding
statement 1 to the action listener of the button.


-- 
Dr. Muhammad Masroor Ali
Associate Professor, Department of CSE
BUET, Dhaka-1000, Bangladesh

Consultant, n.:
    Someone who'd rather climb a tree and tell a lie than stand 
    on the ground and tell the truth.
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to