Original Post
🔒 Locked
[java] Formating cosole output
Advertisement
I don''t think they''ve changed it either. What you could do is figure out how wide you want your strings to run, and override toString() of the given object or System.out.println(). The toString or println method would make sure that your text is shorter than a certain width, and if it isn''t, add line breaks and tabs to your desire.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement