L
lbrtchx
Hi,
~
say you have some text (on an html page or inside a javax.swing text
container) and some graphics based on SVG relating to the text. How
could you handle events on the textual part and produce actions on the
graphic part? Let me clarify that a bit more. Say you have a sentence
like this
~
Triangles have 3 sides and three angles, e.g., for the one
represented on the picture the sides are AB, BC and CA and the angles
are <(AB, AC), <(BA, BC) and <(CA, CB)
~
Now, I would like for the pictures components to be highlighted when
the user hovers the mouse over each of the components of the triangle
~
This application will be part of an applet or a java webstart app.
And, of course, the text is not editable by users
~
How can you achieve this? Any examples out there you could lead me
to?
~
Thanks
lbrtchx
~
say you have some text (on an html page or inside a javax.swing text
container) and some graphics based on SVG relating to the text. How
could you handle events on the textual part and produce actions on the
graphic part? Let me clarify that a bit more. Say you have a sentence
like this
~
Triangles have 3 sides and three angles, e.g., for the one
represented on the picture the sides are AB, BC and CA and the angles
are <(AB, AC), <(BA, BC) and <(CA, CB)
~
Now, I would like for the pictures components to be highlighted when
the user hovers the mouse over each of the components of the triangle
~
This application will be part of an applet or a java webstart app.
And, of course, the text is not editable by users
~
How can you achieve this? Any examples out there you could lead me
to?
~
Thanks
lbrtchx