When you press Alt-Shift-Up to move a selected piece of code upwards in the NetBeans Java Editor on Ubuntu, you'll find a clash of keyboard shortcuts with Ubuntu's own keyboard shortcuts.
Thomas Kruse from the Munster JUG told me how to fix that:
- sudo apt-get install compizconfig-settings-manager
- Start the settings manager by, for example, going to System -> Preferences -> CompizConfig Settings Manager.
- Then go to Window Management -> Scale -> Bindings and then rebind or disable "Initiate Window Picker", which is bound to Shift-Alt-Up by default.
The above solution works for me. Thanks Thomas!