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

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top