Posted By:
sender_jones
Posted On:
Wednesday, August 24, 2005 05:41 AM
I have 2 panels in my frame. First display left pane while right pane is empty. Left pane has a button on which when clicked, start a processing. In the middle of the processing, it displays the right pane and then pause there. The right pane has input text and button. When user finish with the input text and click the button, then the right pane disappears and the processing in the left pane continue at the break point. My problem is: how to pause the left pane and wait the the right pane signal? How can the right pane signal the left pane for it to continue? I've tried this: at the break point, left pane to start a new thread for right pane and then loop a sleep until a text field is updated by right pane. But the result:
More>>
I have 2 panels in my frame. First display left pane while right pane is empty. Left pane has a button on which when clicked, start a processing. In the middle of the processing, it displays the right pane and then pause there. The right pane has input text and button. When user finish with the input text and click the button, then the right pane disappears and the processing in the left pane continue at the break point.
My problem is: how to pause the left pane and wait the the right pane signal? How can the right pane signal the left pane for it to continue?
I've tried this: at the break point, left pane to start a new thread for right pane and then loop a sleep until a text field is updated by right pane. But the result: the sleep of the left pane also freeze the right pane.
Any solution?
<<Less