java - Decrease clickable area for JComponent -
so, in program have several jcomponents laid out on map. jcomponents filled fillarc's, meaning actual arc covering lets 25% of jcomponent. there way decrease clickable area jcomponent better matches fillarc? right able click outside arc , still interact it...
thanks in advance!
should clarify fillarc shaped triangle , requirement assignment!
there general solution wrote handle issue located at: http://sourceforge.net/p/tus/code/head/tree/tjacobs/ui/shape/
this solution uses area
s standard solution interacting shapes in component. in particular, should @ areamanager, , mouselistener defined there.
Comments
Post a Comment