File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Small event handeling  problem with non rectagular component Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Small event handeling  problem with non rectagular component" Watch "Small event handeling  problem with non rectagular component" New topic
Author

Small event handeling problem with non rectagular component

Jigar Gosar
Ranch Hand

Joined: Jul 09, 2002
Posts: 95
i have a circular component i dont want it to be cliked when mouse has been clicked outside its circular boundary.
i know most of u will reply that in mouse click event check if x&y cordinates r within the circular boundary.
but the problem is i have many circular components overlaping each other and i want them to recive mouse events when mouse is on their circular region. but insted my upper circular component gets the event even if mouse has been clicked in its rectangular region, outside the actual circular region.r u getting it.
please help me.
p.s. hi cindy


Regards,<br />Jigar Gosar (SCJP 1.4)<br />visit: <a href="http://jigar.org/blog" target="_blank" rel="nofollow">http://jigar.org/blog</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Small event handeling problem with non rectagular component