> hi, thanks for the reply but i tried the package
> above does not exists in java. is there another way
> to detect a USB mouse whether it exists?
>
> thank you
Did you actually download the library and put it in your compile and runtime classpaths?
> > Did you actually download the library and put it in
> your compile and runtime classpaths?
>
> how do i search the classpaths, it would be grateful
> if u could guide me, thanks alot.
You are trying to start you java career with a tough project. First try to learn the basics of java then only you should work on the project you mentioned. This link should be helpful to you http://java.sun.com/docs/books/tutorial/