Change font size java swing by Note: New size must be a float, not an int.label.setFont(label.getFont().deriveFont(newSize));label.setFont(label.getFont().deriveFont(newSize)); Please Share