How can I use the back and forward mouse buttons in a Swing application?
问题 The question is pretty simple. I couldn't find many links regarding this issue, and the ones I found didn't seemed to avoid the real question. My application must handle the mouse pressed/released events for the back and forward mouse buttons. How can I handle this? EDIT: This is using JDK 1.6 . 回答1: Check if additional mouse buttons are detected by calling: MouseInfo.getNumberOfButtons(); Check if MouseEvents are fired when you click those additional buttons. If so, what does MouseInfo