blackberry/Samples-for-Java — pull request #18 by dturner (2012-08-13 14:22:20+00:00)
Title: Fixes bug where touch events outside the bounds of a button field incorrectly cause button to be clicked

If you create a button field (any class which inherits from BaseButtonField or ListStyleButtonField) and it has focus, clicking anywhere on the screen would cause that button to be clicked.

This fixes this problem so the touch only triggers a click if it's within the bounds of the field.