Using the NetBeans IDE on Mac OSX. ... Ctrl-Spacebar, Opens the Java code completion dialog box. Shift-Enter, Enters the text that is selected in the code ...
netbeans.org