I'm not sure if this is related to the OS, Fedora in my case or if it's a netbeans thing.
Using the touchpad to scroll up and down also invokes a trigger happy two finger swipe left and/or right and the result is that the editor might switch tabs or jump between "editor points" within the current file. Is this behaviour possible to disable on the netbeans side? /Patrik