Too many times I've come across sample code that reference classes but doesn't indicate what jar file to reference. Not knowing what jar file a class is in makes this annoyance Number 732 on my list of things I hate about Java.
I wrote JarClassFinder to solve this problem and use it most every day. The application should be fairly obvious:
Harold
Tuesday, May 20, 2008 2:43 PM
Dave, I never had a chance to use this tool until Ron's email pointed me to your blog. I had lost the source that you had sent me and was using the older version. However this one is much better. I do have a couple of suggestions that may be would be useful: 1) Advance search options - Sometimes I would get several hits (especially when searching several folders) in my search results and I'd have to expand the list and read each line. Two things that I thought would be nifty while I was using it: a) Exact string search - this would look for the exact class name maybe with case sensitive option. b) Wildcard string search - supporting the '*' wildcard character 2) Providing history of passed class name searches. This could be a drop down list in place of the current text field where you enter the class name. At any rate, good tool and nice blog.
Dave
Wednesday, May 28, 2008 7:04 PM
Thanks for the suggestions. I didn't spend too much time on it and actually am still surprised at how useful it's been. If I find the time, I'll look into adding those features. Thanks again!