According to the API for java.util.Formatter...
The format specifiers for general, character, and numeric types have the following syntax:
%[argument_index$][flags][width][.precision]conversion
So in the above examples, the 7 and the 5 specify
width, which can be seen in this
formatted output (using printf instead of println)...
Try increasing these numbers, and see how the output is affected.