How can we distinguish between the back and forward buttons? Can we be sure that button 4 is back and 5 is back?
I do not use JDK7 and have never heard of the back / forward buttons. However, I know that the SwingUtilities class has methods:
isRightMouseButton(MouseEvent) isLeftMouseButton(MouseEvent) isMiddleMouseButton(MouseEvent)
If back / forward support is now supported, I would suggest that they add:
isBackMouseButton(MouseEvent) isForwardMouseButton(MouseEvent)
camickr
source share