refactor: use SpinnerNumberModel#getNumber().intValue() instead of (Integer) JSpinner#getValue()
refactor: use SpinnerNumberModel#getNumber().intValue() instead of (Integer) JSpinner#getValue()

aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips