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
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