-
suspending threads
I need to run several threads concurrently, until any or several of these
threads may display a dialog for user to enter data. When a dialog is displayed
that thread which shows the dialog is to be suspended till the user has closed
the dialog. I do not want the dialogs to be defined modal because so that
the user may interact with several of these dialogs opened by different threads,
or also the parent window. How can I achieve this?
-
Re: suspending threads
Create a thread manager to handle all of the various threads. When a particular
thread creates a semi-modal dialog box, have it suspend itself and register
the dialog box listeners with the thread manager. If the dialog box is closed,
have the thread manager reactivate the owning thread.
"Hemant" <hemant_100@flashmail.com> wrote:
>
>I need to run several threads concurrently, until any or several of these
>threads may display a dialog for user to enter data. When a dialog is displayed
>that thread which shows the dialog is to be suspended till the user has
closed
>the dialog. I do not want the dialogs to be defined modal because so that
>the user may interact with several of these dialogs opened by different
threads,
>or also the parent window. How can I achieve this?
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks