Posted By:
Laila_Bahgat
Posted On:
Wednesday, May 30, 2001 06:07 AM
I'll very much appreciate it if someone can help me locate on-line tutorials and examples on how to allow the user to interact with the graphics I display. I found an example provided by Sun's on-line tutorial called "ShapeMover.java" which was very helpful demonstrating the use of the Graphics2D "hit" method to determine whether a mouse was clicked over a shape. I need to locate similar examples or to find out about books that give some stress to this issue. Also must I use Graphics2D instead of Graphics to allow for user interaction? i.e. I don't need special graphics only primitive shapes that can be clickable. Thanks.
More>>
I'll very much appreciate it if someone can help me locate on-line
tutorials and examples on how to allow the user to
interact with the graphics I display.
I found an example provided by Sun's on-line tutorial called
"ShapeMover.java" which was very helpful demonstrating the use of the
Graphics2D "hit" method to determine whether a mouse was clicked over a
shape.
I need to locate similar examples or to find out about books that give
some stress to this issue.
Also must I use Graphics2D instead of Graphics to allow for user
interaction? i.e. I don't need special graphics only primitive
shapes that can be clickable.
Thanks.
<<Less