Name: Anonymous 2006-12-09 12:27
hay guys, easy java question:
if I'm displaying a string to standard output, how would i go about lining up the rows.. an example would be
displayname1isthislong 45 34
displayname2isshort 45 34
displayname1 and 2 are output using a toString method for an object within a loop, so I can't just pad out each row individually to get the length i want..
I'm probably making this waay harder than it should be..
if I'm displaying a string to standard output, how would i go about lining up the rows.. an example would be
displayname1isthislong 45 34
displayname2isshort 45 34
displayname1 and 2 are output using a toString method for an object within a loop, so I can't just pad out each row individually to get the length i want..
I'm probably making this waay harder than it should be..