Normally it\'s easy to see unused variables in Netbeans, just a grey squiggly line.
But how would I find all of these unused variables in my project or of a single clas
In Eclipse, that gray squiggly line is a yellow squiggly line called a Warning. Then the warning is propagated up to the package level, and up to the project level (such that your project is almost always underlined in yellow with a warning icon). Anyway it really helps you see which source files have warnings in them.
Then your task is to solve every warning in the entire project, and you will have caught the unhandled variables.
I assume netbeans has the same feature somewhere.