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 areas standard solution interacting shapes in component. in particular, should @ areamanager, , mouselistener defined there.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -