NetBeans Quick Tip #27 - Implementing Abstract Methods
Guest Author
This is my favorite hint... it saves me writing of code when I need to implement abstract methods in a class which extends some other class.
You can also use Alt-Enter to invoke the hint by keyboard instead of clicking by mouse.
Join the discussion
Comments ( 3 )
Thorsten Saturday, May 6, 2006
Try out the CTRL-i command. (Just click on the "Show Abstract Methods Only"-CheckBox) You don't have to have the cursor on the right spot and you can copy the Javadoc comments from the interface or abstract class. Have a good one Thorsten
Roumen Saturday, May 6, 2006
Yes, that also works nicely (and I'm using it sometimes)... the nice thing about this hint is that it happens at the right time and there is no dialog - it's very fast.
Petr Vlcek Saturday, May 6, 2006
Yes, in my opinion the hint presented here is more comfortable than the way Thorsten said. I use it very often, it is really nice feature.
Have a good one
Thorsten