Hi Thomas,
I removed my changes and added yours. It didn't
fix it. I had to do the following instead, which
seems to work.
public void handleEvent(Event evt){
final String tt = toolTip;
EventQueue.invokeLater(new Runnable() {
public void run() {
setToolTipText(tt);
if (tt !=null){
MouseEvent e = new MouseEvent(JSVGCanvas.this,
MouseEvent.MOUSE_ENTERED,
System.currentTimeMillis(),
0,
locationListener.getLastX(),
locationListener.getLastY(),
0,
false);
ToolTipManager.sharedInstance().mouseEntered(e);
}
}});
}
-----Original Message-----
From: Thomas E Deweese [mailto:thomas.deweese@;kodak.com]
Sent: Thursday, 7 November 2002 11:56 PM
To: Batik Users
Subject: RE: Dynamic batik in applet & tool tip bug
[.. snip .. ]
import java.awt.EventQueue;
[...]
/* from JSVGCanvas.ToolTipModifier */
public void handleEvent(Event evt){
final String tt = toolTip;
EventQueue.invokeLater(new Runnable() {
public void run() {
setToolTipText(tt);
}});
[...]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]