aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes SWT MessageDialog and Alt-Tab behaviour Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SWT MessageDialog and Alt-Tab behaviour" Watch "SWT MessageDialog and Alt-Tab behaviour" New topic
Author

SWT MessageDialog and Alt-Tab behaviour

Chrissy Simpson
Greenhorn

Joined: Jul 17, 2002
Posts: 22
I am opening an SWT message dialog like:



When I alt-tab out of the application with the dialog open and then alt-tab back, only the dialog is brought to the foreground. Anyone know if this behaviour can be controlled? I would prefer that the whole application and the dialog be brought to the foreground when I alt-tab back to the application. Thanks.
Chrissy Simpson
Greenhorn

Joined: Jul 17, 2002
Posts: 22
I seem to have fixed this by using

<code>new Shell(parentShell)<code>

instead.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SWT MessageDialog and Alt-Tab behaviour