Java 5 implements formatted output with printf(). This concept will be very familiar to C and Fortran programmers. A good introduction to it can be found in the following article by John Zukowski.
printf()
Taming Tiger: Formatted output