TaT UseFixCodeNB

Use fix code to correct your code

Contributed by: Hubert A Klein Ikkink

Reposted from this blog entry: http://mrhaki.blogspot.com/2008/08/use-fix-code-to-correct-your-code-in.html

Tips and Tricks

NetBeans has a great Java editor and I am just learning how many useful features it has. When we write Java code which is not correct we get a warning/error icon in the gutter. When we press Alt+Enter (in Windows) we get a list of suggestions to fix the code. And most of the time NetBeans has very useful suggestions. The following screenshot shows the suggestions if we have not yet imported a class we declare:


Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo