How would i count the number of lines of system.out and loop it so it's continually updating. Anyone know?
Printable View
How would i count the number of lines of system.out and loop it so it's continually updating. Anyone know?
You can count the # of lines written using an int variable. But if you want to reset the cursor location, then you can't in pure java. But there are non-portable ways...