I have a Java applet which is running on a touchscreen monitor. I want to activate e.g. a button's action even when the user didn't hit it exactly. Maybe in a range of 5 pixel of the click, the nearest clickable object have to trigger his action.
How do I enlarge a button's hit area?
For example, if the size of a button is (width=100, height=25), the clickable area of this button should be a little bit larger than the button itself (width=120, height=45)
What I´m looking for is like TouchDelegate class from Android... ...Helper class to handle situations where you want a view to have a larger touch area than its actual view bounds...