Use String.format to pad the numbers.