Hi,
If you have the scrolling problem only with one program that is Netbeans 7.0, this could be a possible bug.
There could be certain applications that would not support the full fledge features of some of the hardware.
I also suggest that you connect a different mouse (USB) and check if you have the scrolling issues with these applications.
This will help you figure out if this is bug or is related to the wireless mouse