This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes ChangeListener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "ChangeListener" Watch "ChangeListener" New topic
Author

ChangeListener

Singh Harmeet
Ranch Hand

Joined: Aug 05, 2011
Posts: 115

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??


With Regards :-
Harmeet Singh
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Because the rollover state changes.


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ChangeListener
 
Similar Threads
JCheckBox in Jtree Problem
JRadio Button : Event Listener
filtering N number of leaf nodes per parent node
Apply 2d array of answer to the right position of JTextField grid with JCheckBox
Making radio buttons noneditable