Hi,

first, again, thanks for the help. I could solved my previos problem.

I have a small Question: I want to change the mouse-cursor, when the
user chose a tool to draw shapes/lines in the JSVGCanvas. I use

myCanvas.setCursor(canvasCursor);

In canvasCursor I store e.g a awt.Cursor.CROSSHAIR_CURSOR

I use setCursor also in the mouseEntered method of my canvas-mouse
listener. And everything works fine unless I move the cursor over a
drawn shape. Then the cursor switch back to the default-cursor.

How I can stop this behaviour

What I don't understand. My document has as lowest layer a <g> with and
<image> inside. The image has the same size like the svg-document. So
the mouse is every-time over this image, when its over the canvas. but
in this case, the cursor doesn't change back.

Regards,

Keywan




-- 
Keywan Najafi Tonekaboni
http://www.prometoys.net

[EMAIL PROTECTED]:/# apt-get --purge remove dominion
After unpacking world will be freed.
You are about to do something potentially beneficial
To continue type in the phrase 'Yes, do as We say!'


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to