List of usage examples for javax.swing JSpinner setFont
@BeanProperty(preferred = true, visualUpdate = true, description = "The font for the component.") public void setFont(Font font)
From source file:Main.java
public static void changeFontSize(JSpinner spinner, int newSize) { spinner.setFont(spinner.getFont().deriveFont((float) newSize)); }