Results 1 to 2 of 2
- 10-02-2011, 05:50 PM #1
Member
- Join Date
- Aug 2011
- Posts
- 2
- Rep Power
- 0
Creating a new Shell. The parent Shell shouldn't lose the focus ...
Hi,
I implemented a view, which displays a list of users as TollItems.
When I move the mouse over a specific user, a business card (child Shell) should appear to display some info about the user.
My problem is:
When the business card is displayed, the parent window loses the focus.
This leads the main view to flickering, when the user moves the mouse over different the users.
What I want is that the business card is displayed without main view loses the focus to avoid this flickering.
I hope It's clear what my problem is.
Best regards
anouri
- 10-10-2011, 05:51 PM #2
Member
- Join Date
- Aug 2011
- Posts
- 2
- Rep Power
- 0
Re: Creating a new Shell. The parent Shell shouldn't lose the focus ...
Hi again,
I found the solution.
To open the secondary Shell (BusinessCard), I used the open() method, which, based on documentation, moves the receiver to the top of the drawing order for
the display on which it was created and makes it active.
Instead of this method, I still had to use the setVisible(true) method.
Best regards,
anouri
Similar Threads
-
need help creating a shell game
By ss1 in forum New To JavaReplies: 0Last Post: 09-20-2011, 01:11 AM -
Focus on Text at the opening of shell
By antogrim2 in forum SWT / JFaceReplies: 0Last Post: 10-14-2009, 11:09 PM -
how to let the shell window in SWT lose focus
By kents in forum SWT / JFaceReplies: 2Last Post: 06-25-2009, 11:34 AM -
Creating a non-rectangular shell to simulate transparency
By Java Tip in forum SWT TipsReplies: 0Last Post: 07-25-2008, 03:26 PM
Bookmarks