Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ChangeListener

 
Singh Harmeet
Ranch Hand
Posts: 115
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why the changeListener at as a MouseMotion Listener with JRadioButton and JCheckBox???
demo show in follwing code..


In this code, when the mouse cursor is move on checkboxes the stateChange() function is called why??
 
Darryl Burke
Bartender
Posts: 5126
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because the rollover state changes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic