Hi, > I'm trying to change the default background cursor of > a Batik applet whenever the program goes into a > certain mode that is determined at runtime. E.g. if > the user selects a pan button, I want > Cursor.CROSSHAIR_CURSOR to be the new default cursor > that appears when hovering over the SVG file, even > _without_ pressing the mouse button. The other > behavior shall remain unaffected, i.e. when the user > hovers over links with the mouse, a hand cursor > (Cursor.HAND_CURSOR) should still appear. I just want > to be able to exchange the "default background cursor" > of the JSVGCanvas dynamically. Does anyone know how to > do that?
I haven't try yet, because JSVGCanvas is JComponent, I think you can use jcomponent.setCursor(cursor) Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]