Question

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

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top