Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet Event Programming

 
Ankit chhan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i've made an smiley face in applet .. now what i want is that, when i move my mouse over the smiley it will change to sad face ....
i am not getting it .... so please suggest me .....
 
Richard Tookey
Bartender
Posts: 1166
17
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to add a 'mouse over' listener!
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MouseListener has methods mouseEntered(...) and mouseExited(...).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic