Coding Java in NetBeans: How To Rename All Occurrence of A Variable At Once?

java, netbeans

Solution

Here is how you change (rename) all of those highlighted variables at once:

http://wiki.netbeans.org/Refactoring

And I don't use Netbeans, but I believe this should help you to disable the occurrence marking (highlighting):

`Options->Fonts & Colors -> Syntax, language: Java, Category: Mark Occurrences.`

From HERE.

Problem

I'm coding Java using NetBeans IDE. How do I rename all the occurrence of a variable at once?

Original source