By default, Netbeans only gives suggestions when you place a period (i.e. for fields and methods of a class and an object).
However, you can configure autocomplete by going to
Tools> Options> Editor> Code Completion
Choose any configuration that works best for you.
Hope this help!
Ankit source share