Category Archives: Java

Shortcut to create getter/setters in NetBeans

So, if you are in a hurry to create a super ninja class and dont have time to waste on stupid type-all-the-characters actions to create basic getter/setters, in NetBeans you can do this: After defining your attributes, for example: You can go to the menu “Refactor” (top menu) and choose “Encapsulate Fields…”, or the context… Read More »