Just put your PopupPanel in a FocusPanel, then give the FocusPanel a
mouse listener that hides the popup on mouse leave.
PopupPanel myPop = new PopupPanel();
FocusPanel fp = new FocusPanel();
fp.setWidget(myPop);
MouseListenerAdapter ml = new MouseListenerAdapter(){
public void onMouseLeave(){
myPop.hide();
}};
fp.addMouseListener(ml);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---