- Nov 6, 2004
- 324
- 0
- 0
I'm taking an introductory software engineering class that uses Java. I completed a homework assignment yesterday that involved using loops and printing results with printf.
We had to print out these columns, that was incredibly tedious, having to resort to printing a string of spaces to separate columns. I was thinking there had to be a better way. So, my question is, what are the ways to display tables of data in Java besides printing lines of text interspersed with lots of spaces? Is there a table object in the Java library that can be used? We haven't really touched on the visual programming aspect (for lack of a better term) yet, so I wasn't sure where to look.
Thanks for the help.
We had to print out these columns, that was incredibly tedious, having to resort to printing a string of spaces to separate columns. I was thinking there had to be a better way. So, my question is, what are the ways to display tables of data in Java besides printing lines of text interspersed with lots of spaces? Is there a table object in the Java library that can be used? We haven't really touched on the visual programming aspect (for lack of a better term) yet, so I wasn't sure where to look.
Thanks for the help.
