Scroll Wheel Mouse Views
Try this: Click the Launch button to run MouseWheelEventDemo using Javattrade; Web Start (download JDK 6). Alternatively, to compile and run the example yourself, consult the example index. Move the cursor over the text area. Rotate the mouse wheel away from you. You will see one or more mouse-wheel events in the up direction. Rotate the mouse wheel in the opposite direction. You will see mouse-wheel events in the down direction. Try changing your mouse wheel's scrolling behavior your system's mouse control panel to see how the output changes. You should not need to restart the demo to see the changes take effect. The output from MouseWheelEventDemo for a system that uses unit increments for its mouse wheel might look as follows: javax.swing.JTextArea: Mouse wheel moved UP 1 notch(es) Scroll type: WHEEL_UNIT_SCROLL Scroll amount: 3 unit increments per notch Units to scroll: -3 unit increments Vertical unit increment: 16 pixels
The prime purpose of the KatMouse utility is to enhance the functionality of mice with a scroll wheel, offering 'universal' scrolling: moving the mouse wheel will scroll the window directly beneath the mouse cursor (not the one with the keyboard focus, which is default on Windows OSes). This is a major increase in the usefullness of the mouse wheel.
For one thing, you can scroll with the wheel button :-). If your using KatMouse wheel button functionality, you can scroll most windows page wise by holding the wheel button over the window and clicking the left (up) or right (down) mouse button. If you hold the left or right mouse button, you'll get continuous, accelerating pagewise scrolling.
In the KatMouse properties dialog (available by right clicking on the KatMouse tray icon and clicking Settings ) you can choose individual wheel scroll settings for applications and windows. In the Applications tab, choose the applications executable file in the file dialog and set the desired scroll width by double clicking on the new entry in the list (screen shot ). After that all windows of this application will not scroll with the default scroll width, but with the individualized settings you made.