JSpinner Value change Events

后端 未结 6 2116
梦谈多话
梦谈多话 2020-12-29 03:05

How to make the update immediately when the jSpinner value was changed.

ChangeListener listener = new ChangeListener() {
  public void stateChanged(ChangeEve         


        
6条回答
  •  离开以前
    2020-12-29 03:45

    I'm new so I might be breaking some rules and I might be late. But I found some of the answers a bit confusing so I played around in NetBeans IDE and found that if you right click on the jspinner GUI component placed on your jform and go to events-> change, code will be generated for you.

提交回复
热议问题