• Post Reply Bookmark Topic Watch Topic
  • New Topic

Interface problem  RSS feed

 
Fym Rahman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Posts: 7722
142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Fym, welcome to CodeRanch!

You can add it to the component that has to supply the events, using a method called addMouseMotionListener().
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!