I'd like to have a shortcut to create an implementation of an interface. Example: right click on an interface file, choose "implement", insert class name. Is there something like this in NetBeans (6.8)?
implements denotes defining an implementation for the methods of an interface. However interfaces have no implementation so that's not possible. However, interface is an 100% abstract class, and an abstract class can implement interfaces (100% abstract class) without implement its methods.
Displaying Javadoc The Javadoc for this element is displayed in a popup window. From the menu bar, select Window > IDE Tools > Javadoc Documentation to open the Javadoc window, in which the documentation is refreshed automatically for the location of your cursor.
It is easy to enable Java hints in NetBeans. Select "Tools" from the title bar, then select "Options" from the drop-down menu. Choose the "Editor" option and then select the "Hints" tab. At this point, make sure that the "Language" drop-down is set to "Java" (other choices include PHP, JavaScript, and Ruby).
Use Alt + Enter and you will see the menu for implement all methods
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With