Hello all,
I have to write an application using the Batik API, but I don't know
very well how to use it. I want to draw a flow chart on a screen. Each
part of this chart has to be clickable. For the moment, I add a mouse
listener to my JSVGCanvas, and by getting the mouse's position when I
click on it, I determine what object of the screen is concerned by the
event. But this solution doesn't satisfy me because I'm afraid it will
be too long or too difficult to deal a more complicated chart...
So I want to know if it's possible to define objects (like rectangle,
ellipse, ...) on which we can add mouse listeners (like a button) and
how to do this. If you have code example to do this, or internet
address where to find information, it would be great.
Thomas Weidenfeller - 22 May 2006 10:28 GMT
> I have to write an application using the Batik API,
I think we all got that now after your fourth post.

Signature
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/
Oliver Wong - 25 May 2006 18:36 GMT
> Hello all,
>
[quoted text clipped - 9 lines]
> how to do this. If you have code example to do this, or internet
> address where to find information, it would be great.
If CPU time is your concern, see
http://en.wikipedia.org/wiki/Binary_space_partitioning
- Oliver