This exercise is to demonstrate Mouse events. MouseEvent inherits InputEvent. There are two listener interfaces MouseListener and MouseMotionListener. This exercise is a demo on MouseMotionListener
Exercise: Write a program that drags a message with the mouse on a panel
Download Code: Mouse Drag Message
No comments:
Post a Comment