Hi All i am new with the graphics programming. I want to highlight the object on the canvas when mouse pointer comes on the object. e.g. if mouse comes on the end point of a particualr Line2D then i want to highlight that point, similarly if mouse comes anywhere on the line2D then i want to highlight that line. Now what i am thinking is if i go for layers then my program will be faster , one layer will be used for highlighting the objects,one for original drawing etc. I am planning to use canvases with JLayeredPane for the layers, but for that my canvas should be tranparent. please guide me is there any other approach for the same or how generally people are implementing such mouseover effects.
Abhishek =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
