Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] blocking Shell or Dialog



Check out this snippet:

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/snippits/snippet63.html



                                                                                                                                                   
                      mark yu                                                                                                                      
                      <vafada2@xxxxxxxxx>            To:       platform-swt-dev@xxxxxxxxxxx                                                        
                      Sent by:                       cc:                                                                                           
                      platform-swt-dev-admin@        Subject:  [platform-swt-dev] blocking Shell or Dialog                                         
                      eclipse.org                                                                                                                  
                                                                                                                                                   
                                                                                                                                                   
                      01/24/2004 12:50 PM                                                                                                          
                      Please respond to                                                                                                            
                      platform-swt-dev                                                                                                             
                                                                                                                                                   
                                                                                                                                                   




Is there a way to make Shell (dialog) be blocking?
Just like Swing's JDialog

for example:

BlockingShell blockingShell = new BlockingShell(shell)
blockingShell.open() //this method blocks the thread

//methods below would not execute until the
BlockingShell is closed.
System.out.println("printed after the blockingShell is
closed")

thanks,

bryan

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev





Back to the top