This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Example, when I entered public static void main(String[] args) { // Create a scanner for input Scanner } Netbeans should ask me to import Scanner or create a new one rather than show me the error.
BTW: if you write eg. "Scanner s;", the hint will be proposed.
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team