I've used CLOC, but I don't like the output too much. I tried this one, but its output isn't what I'm looking for either. I generally just want to know how many lines a project is. Comments don't count. Lines with just braces don't count. Your statistics are ok, but you don't have the useful number I'm looking for. I could subtract from total lines: empty lines, comment lines, etc but that is too much effort. Also I'm not sure how you are handling lines that aren't empty but aren't very useful (eg only braces).
Braces won't count. They are count as "empty lines".
Counting only lines containing semicolons is usually a more meaningful estimate for java code. It'll count commented-out code and examples, but when you think about it, it's still code you've written, even if it's not executed.
Even then, code density varies. It's really just a way to gauge the ballpark size of a codebase in the end, and only really good for comparing with code written in the same style (such as modules in the same codebase)
Good Idea... I'll include it probably...
Hey, I ran it and the format is hardly legible (atleast the very end tally) because it is all offset.
cool program though

First, thanks, second yes... I simply used a dumb formatter... I haven't got any Idea, how to improve that, (exept for using JNCurses...)