[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] how do I give the focus to two Shells with SWT?

Hi everybody. 

I'm developing a gui for a standalone swt-project. 
I've got a main Shell with the workspace where the user does his work and
a little toolshell with his tools (like in Photoshop, for example). 

The main-shell has a display as parent, the little one the main-shell. The
main-shell has no styles set and the tool-shell has set BORDER, RESIZE and
TITLE.

The problem is that I want to give both Shells the Focus (the windows
should look active). 

It would be great if anybody could help me. 

Thanks in advance, Peter