NetBeans Quick Tip #27 - Implementing Abstract Methods



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.
Comments:

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

Posted by Thorsten on květen 06, 2006 at 04:18 dop. CEST #

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.

Posted by Roumen on květen 06, 2006 at 04:22 dop. CEST #

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.

Posted by Petr Vlcek on květen 06, 2006 at 07:26 dop. CEST #

Post a Comment:
Comments are closed for this entry.
About

Roman Strobl

Search

Archives
« duben 2014
PoÚtStČtSoNe
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today