Having installed LWJGL on your platform of choice, fire up Netbeans.
Click on Tools > Library Manager.
Click “New Library”, then add the JARs for the LWJGL to the classpath. (If you downloaded them also add the source folder to the Sources tab, and documents folder to the Javadoc tabs).