Question

I Need to know how to have NetBeans generate getters and setters using a shortcut.

Was it helpful?

Solution

Position the cursor inside the class, then press ALT + Ins and select Getters and Setters from the contextual menu.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top