Yep that did the trick!
//Called when the layer is turned on or off (I am overriding it to get the
tooltip to disappear
public void setVisible(boolean show){
super.setVisible(show);
if(!show)
fireHideToolTip();
}
> -----Original Message-----
> From: Hudson Brian R Contr AFRL/IFSF [mailto:Brian.Hudson_at_rl.af.mil]
> Sent: Wednesday, September 08, 2004 8:30 AM
> To: Ben Podoll
> Subject: RE: [OpenMap Users] tooltip remains
>
> You could override the setVisible method of the layer and call
> firehidetolltip to ensure that the tooltip was hidden as your layer is
> being
> turned off
>
> -----Original Message-----
> From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com]
> On
> Behalf Of Ben Podoll
> Sent: Wednesday, September 08, 2004 4:41 AM
> To: openmap-users_at_bbn.com
> Subject: [OpenMap Users] tooltip remains
>
>
> I am still having problems turning off the tooltip. I have a layer I
> use the
> fireRequestTooltip method for and it works great but once the layer is
> off
> the tooltip pops up whenever I pause the mouse and worse yet it always
> says
> the same thing from whatever was popped up last when the layer that had
> the
> tooltips was turned on. Any ideas?
>
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com" with
> the
> following text in the BODY of the message "unsubscribe openmap-users"]
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Sep 08 2004 - 14:07:49 EDT