Results 1 to 2 of 2
  1. #1
    anouri is offline Member
    Join Date
    Aug 2011
    Posts
    2
    Rep Power
    0

    Default 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

  2. #2
    anouri is offline Member
    Join Date
    Aug 2011
    Posts
    2
    Rep Power
    0

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

  1. need help creating a shell game
    By ss1 in forum New To Java
    Replies: 0
    Last Post: 09-20-2011, 12:11 AM
  2. Focus on Text at the opening of shell
    By antogrim2 in forum SWT / JFace
    Replies: 0
    Last Post: 10-14-2009, 10:09 PM
  3. how to let the shell window in SWT lose focus
    By kents in forum SWT / JFace
    Replies: 2
    Last Post: 06-25-2009, 10:34 AM
  4. Replies: 0
    Last Post: 07-25-2008, 02:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •