NetBeans - shortcut for returning to previous position after invoking 'Go to Declaration'

Solution 1:

Tested, for the 7.1.1 version, it is ALT+LEFT.

Solution 2:

Another useful shortcut is ctrl-q which takes you to the last edit point.

Solution 3:

Navigate back :(ALT+LEFT)

Navigate forward :(ALT+RIGHT)