How to generate getters and setters in netbeans ide?
I have used Eclipse earlier, it has option to generate methods once
you define the properties.
Is there any option available in NetBeans 5.5
NetBeans 5.5 looks better than eclipse. :)
Thanks,
Krishna
Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
- krishna
On Apr 13, 9:45 am, "Jeevan Kumar" <jeevan...@gmail.com> wrote:
> Hi Krishna,
> This is very simple. Once you have typed your declaration right-click on in,
> got to the refactor sub-menu and choose "Encapsulate fields". This will open
> a dialog box you can choose to add either getter or setter or both. Use the
> tick box below to preview your changes to the class .
>
> @ Manish
>
> There is an "Auto comment" tool under the tools menu of Netbeans. Check it
> out, let me know if it helped.
>
> Regards,
> Jeevan
>

Check out what you're missing if you're not on Yahoo! Messenger