Hi everyone,

I have a question please.

 In my application, I have a grid cell that I want to open a window, when
the user clicks on it and then closes when the mouse moves out.

I tried:

final Window w = new Window();

WindowListener wl=  new WindowListener() {

                     @Override

                    public void handleEvent(WindowEvent be) {

                    if(be.getEvent().equals(Events.OnMouseOut)) {

                        w.close();

                    }

                  }};

                  w.addWindowListener(wl);



but it doesn’t work.

Any help?

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to