February 24, 2010 at 3:36 PM
Don't you try to debug code ?
Please put complete code then we can examine it.
February 24, 2010 at 3:43 PM
It seems that either you have saved your java file with wrong name or you have saved your file in wrong package.Please check whether your java file is in tools folder or not.