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.
When I compile a java class in netbeans, if there is a compile error, I can click the error in the Output window, and it takes me to that line in the source code editor. That is great, and I like that behavior. But the highliting makes it hard to read the line with the error, the first thing I want to do before fixing the error is to remove the highlite so I can read the line easier. Currently it is relatively difficult to remove the highlite. If I move input focus into the offending line I would like the highlite to go away; I can still track which line had the error because there is a red X in the left hand margin for that line. Currently to get rid of the highlite, I have to make a change to the line (I usually add a space and then remove it) -- it would be nice if I didn't have to do that and just clicking the line would make the highlite go away.
Could just make the highlight color lighter perhaps? There is no API for making the highlight disappear suddenly, I think, unless you switched to a different annotation which would be tricky.
What concretely makes the line hard to read? I personally sometimes have problem with typing ':' instead of ';' and it's true that the curly underline cuts out the end of comma so semicolon looks like colon so I sometimes end up doing the same workaround like you do. IMHO it could help to apply the underline with either XOR or an alpha channel against the underlying text.
*** This issue has been marked as a duplicate of 45428 ***