question: public static boolean patchClickCount ( final MouseEvent e ) { if ( e . getClickCount ( ) != 1 && e . getButton ( ) > 3 ) { ReflectionUtil . setField ( MouseEvent . class , e , int . class , "clickCount" , 1 ) ; } return false ; }
target:  This method patches event if it concerns side buttons like 4 (Backward) or 5 (Forward) AND it's not single-click event. We won't support double-click for side buttons. Also some JDK bugs produce zero-click events for side buttons.