List of usage examples for javax.swing SpinnerNumberModel getChangeListeners
public ChangeListener[] getChangeListeners()
ChangeListener
s added to this AbstractSpinnerModel with addChangeListener(). From source file:Main.java
public static void dereferenceSpinnerNumberModel(SpinnerNumberModel model) { for (ChangeListener listener : model.getChangeListeners()) { model.removeChangeListener(listener); }//from w ww.j a v a 2 s.c o m }