refactor: use Math.round(floatValue) instead of (int) doubleValue
refactor: use Math.round(floatValue) instead of (int) doubleValue

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