[email protected]
[Top] [All Lists]

Re: Cursor attribute in batik

Subject: Re: Cursor attribute in batik
From: "Abraham Rodriguez Mota"
Date: Tue, 8 Jul 2008 17:51:43 +0100
Hi Helder,

Not sure, but It looks that you are right about the fact that wrapping the JSVGCanvas in a Composite creates problems. But it also looks that some cursor's id (e.g. "wait") are not implemented by eclipse or could have different names.

I got a better result wrapping the Canvas in a panel that is contained in a SWT_AWT frame, and  testing with the "move" cursor id. Thanks for the hint.

All the best

On Tue, Jul 8, 2008 at 1:20 AM, <[email protected]> wrote:

Hi Abraham,

"Abraham Rodriguez Mota" <[email protected]> wrote on 07/07/2008 04:31:54 AM:

> I am using a JSVGCanva in Eclipse 3.3 (Europa) running on Windows
> 2000 Professional.

    You say 'in Eclipse' does this mean that you are using some
sort of SWT bridge for Swing?  If so I would think that might
be the source of trouble.

    If this is not the case I would suspect that it would be
related to the 'container' for the canvas.  Can you outline
how the canvas is used?

> On Sun, Jul 6, 2008 at 11:32 AM, Helder Magalhães <[email protected]
> > wrote:

> > I am trying to change the cursor attribute for a rectangle but appears that
> > Batik doesn't display the cursor (or at least I can not see any change) in a
> > file simple like this:

> [...]
> > Any advice?
> Weird, no problem here - wait cursor is shown when mouse is over the
> rectangle, as expected.

   Right, this is well established functionality for Batik, it
most likely some sort of environmental conflict (Someone else is setting
the cursor or something).

<Prev in Thread] Current Thread [Next in Thread>