I am using netbeans to code java and i was wondering if there is an option to have a program stopped by pressing a shortcut. I can press F6 to execute program, but I have to use mouse to stop program, which I find a little annoying.
many thanks alfred
You can use Ctrl+Shift+DEL.
It is defined in Tools > Options > Keymap
as System > Cancel Process
.