Hi I m new in Java..I don't understand how building Interface work like 'MouseMotionListener' in mouse interfacing..I can implement this method but how it contact with hardware??? If i want to make this kind of interface what i have to do???
Stephan van Hulst
posted 6 years ago
Hi Fym, welcome to CodeRanch!
You can add it to the component that has to supply the events, using a method called addMouseMotionListener().
The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.