To see a bit behind the scenes of the NetBeans IDE we can open /var/log/messages in the NetBeans user directory. In the file we can find log messages from NetBeans.
In NetBeans we can select View | IDE Log File and we see the output immediately in NetBeans.