List of usage examples for javax.swing DefaultBoundedRangeModel removeChangeListener
public void removeChangeListener(ChangeListener l)
ChangeListener
. From source file:Main.java
public static void main(String args[]) { try {/*from w w w . jav a 2 s .co m*/ DefaultBoundedRangeModel model = new DefaultBoundedRangeModel(); ChangeListener myListener = new MyChangeListener(); model.addChangeListener(myListener); model.removeChangeListener(myListener); } catch (Exception e) { e.printStackTrace(); } }