> I want to print out two variable values in one line in specified location.
> Say, num = 3.14, str = "hello"
format( "%15.5f%-10s", num, str );
> I don't know Java 5.0 printf can do such a job. I have read its
> tutorial, but I cannot find out how to set the location without hard-coding.
Admittedly I'm not 100% sure the above is correct; the documentation
is a good bit more involved than C's printf().

Signature
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.